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

Could you release major version(s) of your GitHub action? #137

Open
jmfayard opened this issue Jun 17, 2022 · 4 comments
Open

Could you release major version(s) of your GitHub action? #137

jmfayard opened this issue Jun 17, 2022 · 4 comments

Comments

@jmfayard
Copy link

Bonjour! 🇫🇷

I contribute to GitHub Actions Kotlin DSL which provides an alternative to write GitHub Actions not in YAML but in a type-safe programming language: Kotlin.

To this end we provide type-safe wrappers for currently 72 (and counting) wrapper actions. Those type-safe wrappers are generated from its action.yml which we update when it goes to a new major version, for example actions/cache@v2 to actions/cache@v3

And of course we support your action as well!

Unfortunately when an action don't have a major version, which is what GitHub recommands, we are forced to update manually for every minor version, like from appleboy/scp-action/v0.1.2 to appleboy/scp-action/v0.1.3

See our issue here

Would you consider creating a major version for your action?
That would make our life easier, and the life of your users easier in general.

You can find here the recommendations from GitHub:

https://github.com/actions/toolkit/blob/main/docs/action-versioning.md
(see Recommendations in particular)

@AkhileshNS
Copy link
Owner

Hey @jmfayard, I will be releasing a major version pretty soon. It's been long overdue and should address many of the existing issues in the Action.

@jmfayard
Copy link
Author

Note: in practice this is done by pushing a tag v1 to your latest 1.x.y release

git tag -fa v1 -m "Update v1 tag"
git push origin v1 --force

@TheeMattOliver
Copy link

Hey @jmfayard, I will be releasing a major version pretty soon. It's been long overdue and should address many of the existing issues in the Action.

Hi, this is great to hear, can you please include an argument to locate a Dockerfile in a subdirectory? I looked at source and couldn't find that.

@jmfayard
Copy link
Author

jmfayard commented Oct 11, 2022 via email

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

No branches or pull requests

3 participants