mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-03 21:17:47 +02:00
Updated action.yml
This commit is contained in:
parent
91d3f2deb0
commit
b360b35604
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ inputs:
|
|||
default: "false"
|
||||
save-cache-on-any-failure:
|
||||
description: 'Save build cache despite of failure in the job'
|
||||
default: "false"
|
||||
default: "no"
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||
|
@ -28,7 +28,7 @@ runs:
|
|||
using: 'node16'
|
||||
main: 'dist/restore/index.js'
|
||||
post: 'dist/save/index.js'
|
||||
post-if: success() || inputs.save-cache-on-any-failure == 'yes'
|
||||
post-if: success() || inputs.save-cache-on-any-failure == "yes"
|
||||
branding:
|
||||
icon: 'archive'
|
||||
color: 'gray-dark'
|
||||
|
|
Loading…
Add table
Reference in a new issue