Add option to cache action to not save

This commit is contained in:
Enrico Minack 2024-11-04 18:23:58 +01:00
parent 6849a64899
commit 3f0646840e
4 changed files with 15 additions and 4 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
save:
description: 'Do not run the post step to save the cache if false'
default: 'true'
required: false
save-always:
description: 'Run the post step to save the cache even if another step before fails'
default: 'false'