@ -49,7 +49,7 @@ If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are requir
* `key` - An explicit key for restoring and saving the cache. Refer [creating a cache key](#creating-a-cache-key).
* `key` - An explicit key for restoring and saving the cache. Refer [creating a cache key](#creating-a-cache-key).
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `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
* `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
* `dry-run` - Skip downloading cache. Only check if cache entry exists. Default: false
* `lookup-only` - Skip downloading cache. Only check if cache entry exists. Default: false
description:'An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms'
description:'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'
default:'false'
required:false
required:false
dry-run:
lookup-only:
description:'Skip downloading cache. Only check if cache entry exists'
description:'Skip downloading cache. Only check if cache entry exists'
@ -7,7 +7,7 @@ The restore action, as the name suggest, restores a cache. It acts similar to th
* `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.
* `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` - String used while saving cache for restoring the cache
* `key` - String used while saving cache for restoring the cache
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key.
* `dry-run` - Skip downloading cache. Only check if cache entry exists. Default: false
* `lookup-only` - Skip downloading cache. Only check if cache entry exists. Default: false