Update CACHING.md

Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
This commit is contained in:
Sankalp Kotewar 2023-01-11 10:06:52 +05:30 committed by GitHub
parent c275d5161a
commit 5d3c4042ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,6 @@ Caches scoped to the particular workflow run id or run attempt can be stored and
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
```
### Limiting cache for a particular commit
For very short term or isolated use cases, where cache is supposed to be short lived, commit sha can be used.