Skip to content

Commit 3337563

Browse files
authored
Merge branch 'main' into correct-readme-re-windows
2 parents 501277c + 60c7666 commit 3337563

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

restore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ steps:
120120

121121
#### Reusing primary key and restored key in the save action
122122

123-
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).
123+
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).
124124

125125
#### Using restore action outputs to make save action behave just like the cache action
126126

save/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Case 1: Where an user would want to reuse the key as it is
5454
```yaml
5555
uses: actions/cache/save@v3
5656
with:
57-
key: steps.restore-cache.output.key
57+
key: ${{ steps.restore-cache.outputs.key }}
5858
```
5959
6060
Case 2: Where the user would want to re-evaluate the key

0 commit comments

Comments
 (0)