Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove tag name parameter from GitHub Actions #50

Open
gumaciel opened this issue Jul 23, 2023 · 3 comments
Open

Remove tag name parameter from GitHub Actions #50

gumaciel opened this issue Jul 23, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@gumaciel
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, when running a GitHub Action, you need to specify the tag name as a parameter. This is unnecessary, as the tag name is already selected when you run the Action.

Describe the solution you'd like
I would like to request that the tag name parameter be removed from GitHub Actions. This would make it easier to run Actions and would also reduce the number of parameters that need to be specified.

Additional context

@gumaciel gumaciel added the enhancement New feature or request label Jul 23, 2023
@nsundriyal62
Copy link

can you please elborate it more ............ like soution and approach
i think i can solve this out

@gumaciel
Copy link
Contributor Author

gumaciel commented Aug 29, 2023

@nsundriyal62
thank you very much for your interest in collaborating, we really need it

The idea is as follows:
Today we have a workflow called manual_release_ios.yml, you can see code and the usage here: https://github.com/Poing-Studios/godot-admob-ios/actions/runs/5862833398/workflow

This workflow has an input called tag, which is responsible for passing the version to perform the build (for example: v3.0.0)

The idea is to remove this entry and just use the Use workflow from value using the version number:

Screenshot 2023-08-29 at 08 13 08

Maybe this helps: https://github.com/orgs/community/discussions/26686#discussioncomment-3252852

Or maybe this echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}

@gumaciel
Copy link
Contributor Author

If possible also try for Android, it's the same behavior: https://github.com/Poing-Studios/godot-admob-android/actions/runs/5767406158/workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants