-
Notifications
You must be signed in to change notification settings - Fork 964
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
Bring back "tools folder" fallback code #232
Conversation
src/Runner.Common/HostContext.cs
Outdated
path = Environment.GetEnvironmentVariable("RUNNER_TOOL_CACHE") ?? | ||
// The following fall-back can be removed once Hosted macOS images | ||
// properly set the RUNNER_TOOL_CACHE environment variable | ||
Environment.GetEnvironmentVariable("AGENT_TOOLSDIRECTORY"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't a complete revert, lets make sure to test this in R0 before rolling out to the other rings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Let's do the complete revert in this block of code. I thought it checked a few vars before ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't the correct fix. We need to set to /Users/runner/hostedtoolcache
Which is set by the $RUNNER_TOOL_CACHE variable. We should just do the full revert imo
$AGENT_TOOLSDIRECTORY is empty on OSX
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The block has been completely reverted now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't fix the issue
e61bbb3
to
148eccc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Bring back tools folder fallback code (#232) * Prepare 2.163.1 runner release
No description provided.