-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Remote action not resolving version as github #101
Comments
I see that repo has a v1 branch and a v1.0 tag. Which are you expecting to be picked up, the tag or the branch? |
Github picks EDIT: |
Looks like GitHub has some code to pick defaults based on the situation you have here...but that isn't documented. The way they recommend versioning here is to use semver for each release, and UPDATE your major version tag (e.g. So, in this case you ought to update your releases to be semver (e.g. See setup-python as a good example |
Thank you for the clarification! I'm closing this issue. |
@cplee While this definitely seems to be the recommendation, it seems like act should follow what GitHub actually does. ruby/setup-ruby doesn't follow the recommendations, but it does work with GitHub Actions and not with act. I've filed an issue, but I don't control the repo so I have no timeline on when/if it will be resolved. ruby/setup-ruby#55 |
I think a moving tag is a |
I opened a new issue since this one was closed and the early discussion wasn't clear: #234 |
I not quite sure the title is clear, however I hope the example does a better jib at explaining the problem.
In some of my workflows, I have
It works fine on github, but when running with act, it complains about not finding the reference (it this case, ther is no v1, but github resolves it to the existing v1.0).
I looked at the code to see if I could find something helpful, but didn't find anything.
Looks like (this go library)[https://github.com/hashicorp/go-version] could do name resolving if we feed it the list of releases.
The text was updated successfully, but these errors were encountered: