1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-02 04:57:46 +02:00

Update readme

This commit is contained in:
Marc Mueller 2023-01-16 23:02:59 +01:00
parent 09a1e3e8d4
commit d1960e64f9
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,7 @@ If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are requir
* `key` - An explicit key for restoring and saving the cache. Refer [creating a cache key](#creating-a-cache-key).
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `enableCrossOsArchive` - An optional boolean when enabled, allows Windows runners to save or restore caches that can be restored or saved respectively on other platforms. Default: false
* `dry-run` - Skip downloading cache. Only check if cache entry exists. Default: false
#### Environment Variables

View file

@ -7,7 +7,7 @@ The restore action, as the name suggest, restores a cache. It acts similar to th
* `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` - String used while saving cache for restoring the cache
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `dry-run` - Skip downloading cache. Only check if cache entry exists
* `dry-run` - Skip downloading cache. Only check if cache entry exists. Default: false
## Outputs