Fixed typos and formatting in docs (#1076)

* Removed extra code from readme examples

* Formatted and fixed typos
This commit is contained in:
Sankalp Kotewar 2023-02-03 09:53:09 +05:30 committed by GitHub
parent 22d3da765b
commit e08330827d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View file

@ -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