We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents65b8989 +53b35c5 commit13aacd8Copy full SHA for 13aacd8
action.yml
@@ -26,14 +26,18 @@ inputs:
26
description:'Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache'
27
default:'false'
28
required:false
29
+save-always:
30
+description:'Run the post step to save the cache even if another step before fails'
31
+default:'false'
32
+required:false
33
outputs:
34
cache-hit:
35
description:'A boolean value to indicate an exact match was found for the primary key'
36
runs:
37
using:'node20'
38
main:'dist/restore/index.js'
39
post:'dist/save/index.js'
-post-if:success()
40
+post-if:"success() || github.event.inputs.save-always"
41
branding:
42
icon:'archive'
43
color:'gray-dark'