Is it possible to share cache between github hosted and self-hosted runners?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I‘d like to use a cache produced on a self-hosted runner on GitHub-hosted runner.
On my tests it didn't work even though their keys are exactly the same.
This is my cache build workflow,
but in the verify workflow cache miss occurred despite even they have the exact same key.
Is it possible to share cache between github hosted and self-hosted runners?
Thanks in advance
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the linked cache-build and verify workflow runs, including their runner types and cache keys. Determine whether the cache action supports sharing between GitHub-hosted and self-hosted runners, and make the supported behavior and any required configuration clear in the issue response or documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100