mirror of
https://code.forgejo.org/actions/cache.git
synced 2026-05-19 02:29:31 +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
|
|
@ -26,6 +26,10 @@ inputs:
|
|||
description: 'Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache'
|
||||
default: 'false'
|
||||
required: false
|
||||
fail-on-save-error:
|
||||
description: 'Fail the workflow if cache save fails'
|
||||
default: 'false'
|
||||
required: false
|
||||
save-always:
|
||||
description: 'Run the post step to save the cache even if another step before fails'
|
||||
default: 'false'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue