mirror of
https://github.com/actions/cache.git
synced 2025-07-01 05:24:15 +00:00
Removed input and state and added env
This commit is contained in:
parent
1cbab03e0e
commit
133764e0c3
6 changed files with 24 additions and 29 deletions
|
@ -18,9 +18,6 @@ inputs:
|
|||
description: 'Fail the workflow if the cache is not found for the given key.'
|
||||
required: false
|
||||
default: "false"
|
||||
saveCacheOnAnyFailure:
|
||||
description: 'Save build cache despite of failure in the job'
|
||||
default: 'no'
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||
|
@ -28,7 +25,7 @@ runs:
|
|||
using: 'node16'
|
||||
main: 'dist/restore/index.js'
|
||||
post: 'dist/save/index.js'
|
||||
post-if: (success() || (env.INPUT_SAVECACHEONANYFAILURE == 'yes'))
|
||||
post-if: (success() || (env.SAVE_CACHE_ON_ANY_FAILURE == 'yes'))
|
||||
branding:
|
||||
icon: 'archive'
|
||||
color: 'gray-dark'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue