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

Update readme

This commit is contained in:
Marc Mueller 2023-01-16 23:04:24 +01:00
parent f2d21e50ba
commit 2a9576cc9b
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +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
* `fail-on-cache-miss` - Fail the workflow if cache entry is not found
* `fail-on-cache-miss` - Fail the workflow if cache entry is not found. 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.
* `fail-on-cache-miss` - Fail the workflow if cache entry is not found
* `fail-on-cache-miss` - Fail the workflow if cache entry is not found. Default: false
## Outputs