3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2026-06-14 00:55:40 +00:00

Update documentation and licenses.

This commit is contained in:
Gregorio Litenstein 2023-01-31 11:24:37 -03:00
parent e7e8bcb819
commit f2b3cc4dff
No known key found for this signature in database
GPG key ID: 4EB52A1A9CE2C63F
38 changed files with 928 additions and 24 deletions

View file

@ -21,6 +21,8 @@ A cache today is immutable and cannot be updated. But some use cases require the
```
Please note that this will create a new cache on every run and hence will consume the cache [quota](./README.md#cache-limits).
As a way to get around this limitation, the `refresh-cache` option exists. The way this works is, after matching a key and restoring a cache, it makes a request directly to the Github API and deletes the contents of that cache entry, then leaving said key free to be updated.
- Note, however, that this requires the `actions: write` permission on your workflow.
## Use cache across feature branches