From b053f2b699651003dc32d50fb3e2d03825d9172f Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Mon, 26 Dec 2022 04:40:47 +0000 Subject: [PATCH 1/2] Fix formatting error in restore/README.md (#1044) --- restore/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore/README.md b/restore/README.md index 0c60cc2..e6592d6 100644 --- a/restore/README.md +++ b/restore/README.md @@ -120,7 +120,7 @@ steps: #### Reusing primary key and restored key in the save action -Usually you may want to use same `key` in both actions/cache/restore` and `actions/cache/save` action. To achieve this, use `outputs` from the restore action to reuse the same primary key (or the key of the cache that was restored). +Usually you may want to use same `key` in both `actions/cache/restore` and `actions/cache/save` action. To achieve this, use `outputs` from the restore action to reuse the same primary key (or the key of the cache that was restored). #### Using restore action outputs to make save action behave just like the cache action From 60c76667099108586fa72b6307da64c5fa03ebd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= <65065102+mmuetzel@users.noreply.github.com> Date: Mon, 26 Dec 2022 05:49:10 +0100 Subject: [PATCH 2/2] save/README.md: Fix typo in example (#1040) Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> --- save/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save/README.md b/save/README.md index 4d98fd1..fb6fe90 100644 --- a/save/README.md +++ b/save/README.md @@ -54,7 +54,7 @@ Case 1: Where an user would want to reuse the key as it is ```yaml uses: actions/cache/save@v3 with: - key: steps.restore-cache.output.key + key: ${{ steps.restore-cache.outputs.key }} ``` Case 2: Where the user would want to re-evaluate the key