Skip to content

github action often exceeds the allowed cache. #54404

Answered by Akash1134
Tocktock asked this question in Actions
Discussion options

You must be logged in to vote

Hi @Tocktock ,

GitHub will remove any cache entries that have not been accessed in over 7 days. There is no limit on the number of caches you can store, but the total size of all caches in a repository is limited. By default, the limit is 10 GB per repository, but this limit might be different depending on policies set by your enterprise owners or repository administrators.

If you exceed the limit, GitHub will save the new cache but will begin evicting caches until the total size is less than the repository limit.

For information on changing the policies for the repository cache size limit, see "Enforcing policies for GitHub Actions in your enterprise" and "Managing GitHub Actions setting…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@adamjstewart
Comment options

@kny011
Comment options

@adamjstewart
Comment options

Answer selected by Tocktock
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
5 participants