Skip to content

Commit

Permalink
Merge branch 'main' into correct-readme-re-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lvpx authored Dec 26, 2022
2 parents 501277c + 60c7666 commit 3337563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion restore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion save/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3337563

Please sign in to comment.