Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit13aacd8

Browse files
authored
Merge pull request#1242 from to-s/main
feat: save-always flag
2 parents65b8989 +53b35c5 commit13aacd8

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)

[8]ページ先頭

©2009-2025 Movatter.jp