Skip to content
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

Use the default tool cache path on self-hosted runners matching a GH-hosted runner image #476

Merged
merged 3 commits into from
Mar 5, 2023

Conversation

eregon
Copy link
Member

@eregon eregon commented Mar 5, 2023

Fixes #475

* So it finds already-download prebuilt Ruby in the GH-hosted tool cache path
  on self-hosted, where $RUNNER_TOOL_CACHE is often different than on GH-hosted.
* See ruby#475.
* This relies on tc.find() looking up the env var every time:
  https://github.com/actions/toolkit/blob/1f4b3fac06/packages/tool-cache/src/tool-cache.ts#L522
@eregon eregon merged commit 59b5745 into ruby:master Mar 5, 2023
@eregon eregon deleted the fix-self-hosted-matching branch March 5, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Version 1.141.0 break my workflow
1 participant