From 3238536a48bfc94aa1be336fef0d93ad1725d57e Mon Sep 17 00:00:00 2001 From: ELHoussineT Date: Thu, 22 Sep 2022 10:50:41 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 252d03b..5ba3924 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ 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 stale cache if no cache hit occurred for key. Note -`cache-hit` returns false in this case. +`cache-hit` returns false in this case. When a key doesn't match directly, the action searches for keys prefixed with the restore key. #### Environment Variables * `SEGMENT_DOWNLOAD_TIMEOUT_MIN` - Segment download timeout (in minutes, default `60`) to abort download of the segment if not completed in the defined number of minutes. [Read more](#cache-segment-restore-timeout) From 98044e486f42920b65b6a2c2d0031e6e19dd0879 Mon Sep 17 00:00:00 2001 From: ELHoussineT Date: Mon, 3 Oct 2022 10:15:54 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ba3924..b53321f 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,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 stale cache if no cache hit occurred for key. Note -`cache-hit` returns false in this case. When a key doesn't match directly, the action searches for keys prefixed with the restore key. +* `restore-keys` - An ordered list of prefix-matched keys to use for restoring stale cache if no cache hit occurred for key. Note +`cache-hit` returns false in this case. #### Environment Variables * `SEGMENT_DOWNLOAD_TIMEOUT_MIN` - Segment download timeout (in minutes, default `60`) to abort download of the segment if not completed in the defined number of minutes. [Read more](#cache-segment-restore-timeout)