-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add enviroment variable to contain runner version #670
Comments
See robotology/whole-body-estimators#60 for a related downstream issue. |
Hello @traversaro , thank you for your suggestion. |
Thanks @maxim-lobanov , that probably make sense, thanks for the hint! |
Describe the bug
In the GitHub Actions there is now the ImageVersion env variable that contains the image version, but it would be useful to have also a variable that contains the runner version. As on some platforms (for example macOS) the
${GITHUB_WORKSPACE}
path contains the runner version, this can create problems with tools that hard-code their path in the build files if they are cached. To invalidate in an easy way the cache in this case, it would be great to have a env variable that contains the runner version, so it can be include in the cache id to automatically invalidate the cache when the${GITHUB_WORKSPACE}
changes. Unfortunately using directly the${GITHUB_WORKSPACE}
env variables does not work, probably because it contains strange characters as/
.Area for Triage:
Question, Bug, or Feature?:
Feature
Virtual environments affected
Expected behavior
It would be great to have an environment variable that contains the runner version, for use with cache.
Actual behavior
At the moment, there is no direct env variable that contains the runner version.
The text was updated successfully, but these errors were encountered: