mirror of
https://code.forgejo.org/actions/cache.git
synced 2026-05-16 17:25:35 +00:00
Add fail-on-error input to fail workflow on cache save errors
This commit is contained in:
parent
27d5ce7f10
commit
b3c661a9c5
8 changed files with 119 additions and 2 deletions
|
|
@ -90,6 +90,7 @@ If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are requir
|
|||
* `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. Default: `false`
|
||||
* `lookup-only` - If true, only checks if cache entry exists and skips download. Does not change save cache behavior. Default: `false`
|
||||
* `fail-on-save-error` - Fail the workflow if the cache save step encounters an error, rather than logging a warning and succeeding. Default: `false`
|
||||
|
||||
#### Environment Variables
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue