mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-21 16:23:56 +08:00
Fixed typos and formatting in docs (#1076)
* Removed extra code from readme examples * Formatted and fixed typos
This commit is contained in:
parent
22d3da765b
commit
e08330827d
3 changed files with 10 additions and 10 deletions
|
@ -200,7 +200,7 @@ If you want to avoid re-computing the cache key again in `save` action, the outp
|
|||
path: |
|
||||
path/to/dependencies
|
||||
some/other/dependencies
|
||||
key: ${{ steps.restore-cache.outputs.key }}
|
||||
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
|
||||
```
|
||||
|
||||
### Re-evaluate cache key while saving cache
|
||||
|
@ -221,7 +221,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.outputs.key }}
|
||||
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
|
||||
```
|
||||
|
||||
Case 2: Where the user would want to re-evaluate the key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue