GeezerVison is showing github.com — Merge pull request #1684 from actions/prepare-cache-v5-release · actions/cache@a783357
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: README.md +11Lines changed: 11 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -17,6 +17,10 @@ See ["Caching dependencies to speed up workflows"](https://docs.github.com/en/ac |
17 | 17 |
|
18 | 18 | ### ⚠️ Important changes |
19 | 19 |
|
| 20 | +> [!IMPORTANT] |
| 21 | +> `actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`. |
| 22 | +> If you are using self-hosted runners, ensure they are updated before upgrading. |
| 23 | +
|
20 | 24 | The cache backend service has been rewritten from the ground up for improved performance and reliability. [actions/cache](https://github.com/actions/cache) now integrates with the new cache service (v2) APIs. |
21 | 25 |
|
22 | 26 | The new service will gradually roll out as of **February 1st, 2025**. The legacy service will also be sunset on the same date. Changes in these releases are **fully backward compatible**. |
@@ -34,6 +38,11 @@ Upgrading to the recommended versions will not break your workflows. |
34 | 38 |
|
35 | 39 | Read more about the change & access the migration guide: [reference to the announcement](https://github.com/actions/cache/discussions/1510). |
36 | 40 |
|
| 41 | +### v5 |
| 42 | + |
| 43 | +* Updated to node 24 |
| 44 | +* Requires a minimum Actions Runner version of `2.327.1` |
| 45 | + |
37 | 46 | ### v4 |
38 | 47 |
|
39 | 48 | * Integrated with the new cache service (v2) APIs. |
@@ -69,6 +78,8 @@ Create a workflow `.yml` file in your repository's `.github/workflows` directory |
69 | 78 |
|
70 | 79 | If you are using this inside a container, a POSIX-compliant `tar` needs to be included and accessible from the execution path. |
71 | 80 |
|
| 81 | +Note: `actions/cache@v5` runs on Node.js 24 and requires a minimum Actions Runner version of `2.327.1`. |
| 82 | + |
72 | 83 | If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are required for [Cross-OS caching](https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cross-os-cache) to work. They are also recommended to be installed in general so the performance is on par with `hosted` Windows runners. |
73 | 84 |
|
74 | 85 | ### Inputs |
|
Collapse file
Copy file name to clipboardExpand all lines: RELEASES.md +8Lines changed: 8 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | # Releases |
2 | 2 |
|
| 3 | +## Changelog |
| 4 | + |
| 5 | +### 5.0.0 |
| 6 | + |
| 7 | +> [!IMPORTANT] |
| 8 | +> `actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`. |
| 9 | +> If you are using self-hosted runners, ensure they are updated before upgrading. |
| 10 | +
|
3 | 11 | ### 4.3.0 |
4 | 12 |
|
5 | 13 | - Bump `@actions/cache` to [v4.1.0](https://github.com/actions/toolkit/pull/2132) |
|
Collapse file
Copy file name to clipboardExpand all lines: package-lock.json +2-11Lines changed: 2 additions & 11 deletions Collapse file
Copy file name to clipboardExpand all lines: package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | { |
2 | 2 | "name": "cache", |
3 | | - "version": "4.3.0", |
| 3 | + "version": "5.0.0", |
4 | 4 | "private": true, |
5 | 5 | "description": "Cache dependencies and build outputs", |
6 | 6 | "main": "dist/restore/index.js", |
|