Fixed typos and formatting in docs (#1076)

* Removed extra code from readme examples

* Formatted and fixed typos
This commit is contained in:
Sankalp Kotewar authored and GitHub committed 2023-02-03 09:53:09 +05:30
1 parent 22d3da765b
commit e08330827d
3 files changed
+10 -10

No files matched your search

+2 -2
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