Skip to content

Commit 13aacd8

Browse files
authored
Merge pull request #1242 from to-s/main
feat: save-always flag
2 parents 65b8989 + 53b35c5 commit 13aacd8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,18 @@ inputs:
2626
description: 'Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache'
2727
default: 'false'
2828
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
2933
outputs:
3034
cache-hit:
3135
description: 'A boolean value to indicate an exact match was found for the primary key'
3236
runs:
3337
using: 'node20'
3438
main: 'dist/restore/index.js'
3539
post: 'dist/save/index.js'
36-
post-if: success()
40+
post-if: "success() || github.event.inputs.save-always"
3741
branding:
3842
icon: 'archive'
3943
color: 'gray-dark'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy