Skip to content

Is cache-hit also true when restore-keys is hit? #789

Answered by jongwooo
sebastianrath asked this question in Q&A

You must be logged in to vote

If there is a cache that fits key, it is called cache-hit, and the action restores the cache file to path. If the cache does not match key, it is called cache-miss, and a new cache is created when the Job is successfully terminated. When cache-miss occurs, the action uses restore-keys as an alternative key to rediscover. In this case, cache-hit returns false.

Replies: 1 comment

You must be logged in to vote
0 replies
Answer selected by sebastianrath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants