Closed mvynhb closed 10 months ago
I read the ttl for cache entries on github action is 1 week https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy. Is there some setting I need to use to specify the ttl?
I don't think there is a way to set a custom TTL with current GitHub API atm.
Contributing guidelines
I've found a bug, and:
Description
Hi I am using the below configuration in my github actions:
Its working as expected, the first run it builds my Dockerfile and the second run it uses the cache. However I have noticed that after 1 day or so the cache is not used anymore and needs to run the build again.
I read the ttl for cache entries on github action is 1 week https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#usage-limits-and-eviction-policy. Is there some setting I need to use to specify the ttl?
Thanks
Expected behaviour
Cache is re-used.
Actual behaviour
Cache is not re-used after about 1 day.
Repository URL
No response
Workflow run URL
No response
YAML workflow