You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> 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` matches an existing cache, a new cache is not created and if the provided `key` doesn't match an existing cache, a new cache is automatically created provided the job completes successfully.
64
+
#### Using a combination of restore and save actions
> Note You must use the cache or restore action in your workflow before you need to use the files that might be restored
100
+
> from the cache. If the provided key matches an existing cache, a new cache is not created and if the provided key
101
+
> doesn't match an existing cache, a new cache is automatically created provided the job completes successfully.
63
102
64
103
## Creating a cache key
65
104
@@ -68,7 +107,7 @@ A cache key can include any of the contexts, functions, literals, and operators
68
107
For example, using the [`hashFiles`](https://docs.github.com/en/actions/learn-github-actions/expressions#hashfiles) function allows you to create a new cache when dependencies change.
69
108
70
109
```yaml
71
-
- uses: puzl-cloud/github-actions-cache@v3
110
+
- uses: puzl-cloud/github-actions-cache@v4
72
111
with:
73
112
path: |
74
113
path/to/dependencies
@@ -101,9 +140,9 @@ Using the `cache-hit` output, subsequent steps (such as install or build) can be
0 commit comments