Skip to content

Actions/cache: Cache not being hit despite of being present #27059

Answered by BrightRan
RJ722 asked this question in Actions
Discussion options

You must be logged in to vote

@rj722 ,

I noticed the appropriate engineer has provided some suggestions for troubleshooting, please check with these:

Cache’s are scoped to a key and a branch, so a cache created on branch-A won’t be accessible by branch-B unless branch-A is the default branch.

It’s recommended that you have a workflow run on your default branch (usually master ) so that worklows on other branches will have a cache to restore from.

Replies: 28 comments 24 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@RonaldGalea
Comment options

@david-molnar-oculai
Comment options

@amirasyraf
Comment options

@rene-hermenau
Comment options

@1ukastesar
Comment options

Answer selected
Comment options

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

@mmbarness
Comment options

@matinzd
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

@alambike
Comment options

@nroose
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@BillyTom
Comment options

@MatMercer
Comment options

@MatMercer
Comment options

@udondan
Comment options

@MatMercer
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ajfranzoia
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@anderssonjohan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@vegidio
Comment options

@rene-hermenau
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mtsadler-branch
Comment options

@rene-hermenau
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment