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
Caching on self-hosted runners #2271
Comments
|
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
|
@rajaie-sg Thanks for opening an issue! I don't know the answer to that question, so I'm going to triage this to have the right team take a look |
This comment has been minimized.
This comment has been minimized.
|
Any updates on this? |
|
Thanks for your patience! Our small team is working our way through reviewing all of the issues and PRs |
|
We should update the line from You or anyone else is welcome to open a PR with that fix |
As discussed in github#2271 (comment) Fix github#2271
|
Where does the cache actually live when using self-hosted runners? Is it on the filesystem, github's servers, somewhere else? Does caching do anything useful when also using the runner in |
I think that a more precise statement would be that caching is only applicable for workflows running on dotcom or GHEC. (In other words, caching does not work for GitHub Enterprise Server).
GitHub's servers. At the moment
No, it's no different than using static self-hosted runners. |
|
This should be reopened. |
|
|
Your link is broken btw. Managed to include the emoji in the link. I've created a discussion for this as asked community/community#18549 |
|
|
|
Just found out that you can use |

What article on docs.github.com is affected?
https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/migrating-from-circleci-to-github-actions#caching
What part(s) of the article would you like to see updated?
Caching
Additional information
The docs state that
GitHub Actions caching is only applicable to GitHub-hosted runners.which seems to indicate we can't use caching on self-hosted runners, but I just tested caching on a self-hosted runner and it worked fine. Are the docs out of date?The text was updated successfully, but these errors were encountered: