1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-04-02 04:57:46 +02:00

Update CACHING.md

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

View file

@ -64,7 +64,7 @@ In case of workflows with matrix running for multiple Operating Systems, the cac
### Limiting cache to only the current workflow/attempt
Caches scoped to the particular workflow run id or run attempt can be stored and referred by using the run id/attempt
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.
```yaml
key: cache-${{ github.run_id }}-${{ github.run_attempt }}