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
Copy file name to clipboardExpand all lines: docs/advanced-usage.md
+40-25Lines changed: 40 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -329,36 +329,51 @@ steps:
329
329
- run: npm test
330
330
```
331
331
332
-
**Restore-Only Cache**
332
+
**Restore-only cache**
333
+
334
+
You can restore caches without saving new entries, which helps reduce cache writes and storage usage in read-only cache workflows.
333
335
334
336
```yaml
335
-
## In some workflows, you may want to restore a cache without saving it. This can help reduce cache writes and storage usage in workflows that only need to read from cache
> **Note**: Uncomment the commands relevant to your project's package manager.
358
373
359
-
> For more details related to cache scenarios, please refer [Node – npm](https://github.com/actions/cache/blob/main/examples.md#node---npm).
374
+
> For more details related to cache scenarios, please refer [actions/cache/restore](https://github.com/actions/cache/tree/main/restore#only-restore-cache).
0 commit comments