3
0
Fork 0
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:
nathan.harris 2026-04-17 13:58:23 -05:00
parent 27d5ce7f10
commit b3c661a9c5
No known key found for this signature in database
8 changed files with 119 additions and 2 deletions

View file

@ -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'