mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 09:13:56 +08:00
Strict restore implemented
This commit is contained in:
parent
dde24d199d
commit
7924423105
3 changed files with 12 additions and 1 deletions
|
@ -12,6 +12,9 @@ inputs:
|
|||
restore-keys:
|
||||
description: 'An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case.'
|
||||
required: false
|
||||
strict-restore:
|
||||
description: 'Fail the workflow if the cache is not found for the given key.'
|
||||
required: false
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: 'A boolean value to indicate an exact match was found for the primary key'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue