Update CACHING.md

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

View file

@ -62,7 +62,7 @@ In case of workflows with matrix running for multiple Operating Systems, the cac
key: ${{ runner.os }}-cache
```
### Limiting cache to only the current workflow/attempt
### Creating a short lived cache
Caches scoped to the particular workflow run id or run attempt can be stored and referred by using the run id/attempt. This is an effective way to have a short lived cache.