Compare commits

...

4 Commits

Author SHA1 Message Date
Sankalp Kotewar 21238b32cf
Merge branch 'main' into kotewar/update-readme-for-lookup 2023-03-13 15:45:02 +05:30
Sankalp Kotewar 76371af810
Update README.md 2023-03-13 10:39:13 +05:30
Sankalp Kotewar 93d39f69f1
Update README.md
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2023-03-13 10:34:05 +05:30
Sankalp Kotewar e7cab40f69
Updated description of the lookup-only input for main action 2023-03-09 18:26:25 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are requir
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `enableCrossOsArchive` - An optional boolean when enabled, allows Windows runners to save or restore caches that can be restored or saved respectively on other platforms. Default: `false`
* `fail-on-cache-miss` - Fail the workflow if cache entry is not found. Default: `false`
* `lookup-only` - Skip downloading cache. Only check if cache entry exists. Default: `false`
* `lookup-only` - If true, only checks if cache entry exists and skips download. Does not change save cache behavior. Default: `false`
#### Environment Variables

View File

@ -10,7 +10,7 @@ The restore action restores a cache. It works similarly to the `cache` action ex
* `path` - A list of files, directories, and wildcard patterns to restore. See [`@actions/glob`](https://github.com/actions/toolkit/tree/main/packages/glob) for supported patterns.
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `fail-on-cache-miss` - Fail the workflow if cache entry is not found. Default: `false`
* `lookup-only` - Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache. Default: `false`
* `lookup-only` - If true, only checks if cache entry exists and skips download. Default: `false`
### Outputs