feat: add cache-optimized option for timestamp-based caching - #162
feat: add cache-optimized option for timestamp-based caching#162castler wants to merge 1 commit into
Conversation
Adds a new cache-optimized input that, when enabled, uses timestamp-based cache keys instead of file hashes for disk and repository caches. Old caches are automatically deleted via the GitHub Actions Cache API before saving new ones.
|
Duplicate of #163 ? |
|
I didn't even see this one before doing mine. Does my PR solve your underlying problem, or is there something more you want specifically from timestamp-based caches? |
Sorry, I was on sick leave. For what I can say, I think your PR also solves my (our) problem. I am not sure if this can have negative impacts, but I doubt. So I am also fine with your solution. |
|
In order to cope with our requirements, we needed a more complex setup which we documented here: Since this requires a very tight integration with the workflows used within a project - I do not believe this is of general usage and thus does not make sense to place into Thanks to @p0deje for the feedback he gave for this and similar PRs - which uncovered some hickups! |
Adds a new cache-optimized input that, when enabled, uses timestamp-based cache keys instead of file hashes for disk and repository caches. Old caches are automatically deleted via the GitHub Actions Cache API before saving new ones.