Add details about Runner OS version in Actions environment #7879
Closed
sagarchikane
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hey @sagarchikane. Image OS and version are available as environment variables |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can we have below highlighted values readily available as part of Default Environment variables for a Github Action
This thread mentions something about fetching the version of the self hosted runner but it isn't clear about which script to execute
My use-case involves fetching the version for Runner image.
One way to do that would be to listen for that job to complete and then use Github CLI/API commands to fetch the action logs and then grep the logs to find the said version. This seems like quite the long process to fetch something that could be readily available as an environment variable for developers to directly use.
Beta Was this translation helpful? Give feedback.
All reactions