-
Notifications
You must be signed in to change notification settings - Fork 33
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
Centralize storage of release number from CI scripts #125
Comments
On top of my head, the only option that comes to mind is using Actions Secrets, but it won't show the value if any user would like to know the toolchain version, so I don't really see it as a good option |
Possible workaround: https://arinco.com.au/blog/github-actions-share-environment-variables-across-workflows/. One approach could be to generate |
@jessebraham suggested using: curl --silent https://api.github.com/repos/esp-rs/rust-build/releases | jq -r 'map(select(.prerelease | not)) | first | .tag_name' Which gets you the latest release name which is NOT a pre-release, the |
Problem: Rust toolchain version number is stored in 23 files. Each release requires an update of all these files.
Find a way to reduce repeated magic numbers in CI scripts.
The text was updated successfully, but these errors were encountered: