mirror of
https://kkgithub.com/actions/cache.git
synced 2025-10-23 22:41:54 +08:00
Clarify that the restore-keys input is a string in the docs (#1434)
* Fix Description for restore-keys at Readme
As previously the restore-keys were defined as an ordered lists which is
wrong as per the issue description where the actual format is a
multi-line string with one key per line.
* Added a space between the sentence of restore-keys description
While at the PR review it's been identified there's a need for a space
between the sentence
```
An ordered multiline string listing the prefix-matched keys,that are
used for restoring stale cache if no cache hit occurred for key.
```
where it's written as "prefix-matched keys,that are" this commit will
address the review comment and introduce a space between
"prefix-matched keys, that are" and change the sentence to
```
An ordered multiline string listing the prefix-matched keys, that are
used for restoring stale cache if no cache hit occurred for key.
```
* Change restore-keys description at cache/restore/action.yml and cache/action.yml
This commit is contained in:
committed by
GitHub
parent
40c3b67b29
commit
57b8e405f0
@ -9,7 +9,7 @@ inputs:
|
||||
description: 'An explicit key for restoring the cache'
|
||||
required: true
|
||||
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.'
|
||||
description: 'An ordered multiline string listing the prefix-matched keys, that are used for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case.'
|
||||
required: false
|
||||
enableCrossOsArchive:
|
||||
description: 'An optional boolean when enabled, allows windows runners to restore caches that were saved on other platforms'
|
||||
|
||||
Reference in New Issue
Block a user