Trying with inputs

This commit is contained in:
Sankalp Kotewar 2022-11-21 13:47:05 +00:00 committed by GitHub
commit 1cbab03e0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -18,7 +18,7 @@ inputs:
description: 'Fail the workflow if the cache is not found for the given key.'
required: false
default: "false"
save-cache-on-any-failure:
saveCacheOnAnyFailure:
description: 'Save build cache despite of failure in the job'
default: 'no'
outputs:
@ -28,7 +28,7 @@ runs:
using: 'node16'
main: 'dist/restore/index.js'
post: 'dist/save/index.js'
post-if: success() || env.INPUT_SAVE-CACHE-ON-ANY-FAILURE == 'yes'
post-if: (success() || (env.INPUT_SAVECACHEONANYFAILURE == 'yes'))
branding:
icon: 'archive'
color: 'gray-dark'