3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-24 04:15:32 +00:00

Update documentation and licenses

Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
This commit is contained in:
Gregorio Litenstein 2023-01-31 11:24:37 -03:00
parent c3e37a8dd8
commit debc4e75e7
No known key found for this signature in database
GPG key ID: 4EB52A1A9CE2C63F
62 changed files with 1250 additions and 448 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