1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-06 22:37:48 +02:00

Update README.md

This commit is contained in:
Matt Johnson-Pint 2022-11-18 17:16:09 -08:00
parent ebd65873f7
commit 5dbe0df524
No known key found for this signature in database
GPG key ID: FC13C394A988CF1D

View file

@ -34,7 +34,9 @@ If you are using this inside a container, a POSIX-compliant `tar` needs to be in
* `path` - A list of files, directories, and wildcard patterns to cache and restore. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns.
* `key` - An explicit key for restoring and saving the cache
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `restore-keys` - (optional) An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `upload-chunk-size` - (optional) The chunk size used to split up large files during upload, in bytes.
* `reevaluate-key` - (optional) If set to `true`, the key will be re-evaluated when saving the cache.
#### Environment Variables
* `SEGMENT_DOWNLOAD_TIMEOUT_MINS` - Segment download timeout (in minutes, default `60`) to abort download of the segment if not completed in the defined number of minutes. [Read more](https://github.com/actions/cache/blob/main/workarounds.md#cache-segment-restore-timeout)