Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #554 from albertstill/improve-restore-key-docs
Improve restore-key documentation
  • Loading branch information
Sampark Sharma authored and GitHub committed Jun 6, 2022
2 parents 30f413b + 3767bf0 commit 438628a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -28,7 +28,8 @@ If you are using this inside a container, a POSIX-compliant `tar` needs to be in

* `path` - A list of files, directories, and wildcard patterns to cache and restore. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns.
* `key` - An explicit key for restoring and saving the cache
* `restore-keys` - An ordered list of keys to use for restoring the cache if no cache hit occurred for key
* `restore-keys` - 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.

### Outputs

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -9,7 +9,7 @@ inputs:
description: 'An explicit key for restoring and saving the cache'
required: true
restore-keys:
description: 'An ordered list of keys to use for restoring the cache if no cache hit occurred for key'
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
upload-chunk-size:
description: 'The chunk size used to split up large files during upload, in bytes'
Expand Down

0 comments on commit 438628a

Please sign in to comment.