1
0
Fork 0
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:
Sankalp Kotewar 2022-11-21 08:46:56 +00:00 committed by GitHub
parent 91d3f2deb0
commit b360b35604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'