-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
How about changing interpretation of version string #447
Comments
In actions/runner#849 , |
I thought about this too in the past, but it means there is no way to express "Ruby >= 3 < 4" then, i.e. Ruby 3.x. I still think this is a bug of the GitHub Actions YAML parser, because it can know the difference but doesn't use it.
|
I filed actions/toolkit#1320, if that's done that would be enough. |
Another idea is maybe we could warn when we get |
* Configure Github Actions * Add status badge to README * Express Ruby versions as string to work around ruby/setup-ruby#447 * Add Gemfile.lock to repository
I was just reading about this as well, looks like the solution is to just wrap it in single quotes as such: env:
env_var: '3.0' Should fix the problem for now at least! |
Many users who wants use
3.0.x
writeruby-version: 3.0
by mistake.3.0
interpreted as3
on GitHub Actions.For example, following workflow step prints
3
only.So I propose changing the meaning of
3
(and3.0
on workflow files) use3.0.x
, and3.x
(or something) use latest3.x.x
.After this change, many users can write
3.0
intentionally, and some (probably less) users who want use latest3.x.x
can write3.x
or something instead.The text was updated successfully, but these errors were encountered: