From e7cab40f69df71fbfcdef2739cfc5ab8e4286874 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Thu, 9 Mar 2023 18:26:25 +0000 Subject: [PATCH 1/3] Updated description of the lookup-only input for main action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9852657..082fbc1 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,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` - Skip downloading cache. Only check if the cache entry exists and save cache on cache miss. Default: `false` #### Environment Variables From 93d39f69f16f9c184c9251b8616dbe7fa7a428cd Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Mon, 13 Mar 2023 10:34:05 +0530 Subject: [PATCH 2/3] Update README.md Co-authored-by: Bishal Prasad --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 082fbc1..abb3a5f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,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 the cache entry exists and save cache on cache miss. 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 From 76371af81024fd3b232dd109a08ee24d6e32af8a Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Mon, 13 Mar 2023 10:39:13 +0530 Subject: [PATCH 3/3] Update README.md --- restore/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore/README.md b/restore/README.md index 6571aef..6a52e90 100644 --- a/restore/README.md +++ b/restore/README.md @@ -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