1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-12-23 04:06:00 +01:00

Update README.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
This commit is contained in:
Vipul 2022-06-27 10:48:52 +05:30 committed by GitHub
parent 2086306d9c
commit 8829e97be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ jobs:
run: /primes.sh -d prime-numbers
```
Note: The call to cache both restores the cache and sets up a hook to restore the cache at the end of the workflow so you need to add the cache step near the beginning of your workflow.
> Note: You must use the `cache` action in your workflow before you need to use the files that might be restored from the cache. If the provided `key` doesn't match an existing cache, a new cache is automatically created if the job completes successfully.
## Implementation Examples