Update README.md · actions/cache@8829e97 (original) (raw)

Original file line number Diff line number Diff line change
@@ -81,7 +81,7 @@ jobs:
81 81 run: /primes.sh -d prime-numbers
82 82 ```
83 83
84 -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.
84 +> 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.
85 85
86 86 ## Implementation Examples
87 87