feat: Adding "always-save" flag that allows to save the new cache over the old cache.

This commit is contained in:
Martin Heidegger 2022-07-03 10:14:51 +09:00
parent baed3516c3
commit 5ab49b24e0
No known key found for this signature in database
GPG key ID: 5933F4B5CC304AFC
8 changed files with 63 additions and 5 deletions

View file

@ -31,6 +31,7 @@ If you are using this inside a container, a POSIX-compliant `tar` needs to be in
* `key` - An explicit key for restoring and saving the cache
* `restore-keys` - An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note
`cache-hit` returns false in this case.
* `always-save` - Flag indicating that it the cache should always be written
### Outputs