1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-07-16 14:14:51 +02:00

cache-refresh: update documentation and licenses

This commit is contained in:
Gregorio Litenstein 2023-01-31 11:24:37 -03:00
parent c7dc3e4869
commit 06cf66871d
No known key found for this signature in database
GPG key ID: 4EB52A1A9CE2C63F
27 changed files with 881 additions and 3 deletions

View file

@ -9,6 +9,11 @@ The save action saves a cache. It works similarly to the `cache` action except t
* `key` - An explicit key for a cache entry. See [creating a cache key](../README.md#creating-a-cache-key).
* `path` - A list of files, directories, and wildcard patterns to cache. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns.
* `upload-chunk-size` - The chunk size used to split up large files during upload, in bytes
* `refresh-cache` - An optional boolean, when enabled it will result in a matched key being deleted after being restored, allowing it to be reused with refreshed/updated content. Default: false
#### Environment Variables
* `GITHUB_TOKEN` - A Github API token, required for authenticating to the API when the `refresh-cache` option is enabled.
### Outputs