Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a783357

Browse files
authored
Merge pull request #1684 from actions/prepare-cache-v5-release
Prepare v5.0.0 release
2 parents ffd11d2 + 3bb0d78 commit a783357

4 files changed

Lines changed: 22 additions & 12 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ See ["Caching dependencies to speed up workflows"](https://docs.github.com/en/ac
1717

1818
### ⚠️ Important changes
1919

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+
2024
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.
2125

2226
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.
3438
3539
Read more about the change & access the migration guide: [reference to the announcement](https://github.com/actions/cache/discussions/1510).
3640

41+
### v5
42+
43+
* Updated to node 24
44+
* Requires a minimum Actions Runner version of `2.327.1`
45+
3746
### v4
3847

3948
* Integrated with the new cache service (v2) APIs.
@@ -69,6 +78,8 @@ Create a workflow `.yml` file in your repository's `.github/workflows` directory
6978

7079
If you are using this inside a container, a POSIX-compliant `tar` needs to be included and accessible from the execution path.
7180

81+
Note: `actions/cache@v5` runs on Node.js 24 and requires a minimum Actions Runner version of `2.327.1`.
82+
7283
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.
7384

7485
### Inputs

RELEASES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Releases
22

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+
311
### 4.3.0
412

513
- Bump `@actions/cache` to [v4.1.0](https://github.com/actions/toolkit/pull/2132)

package-lock.json

Lines changed: 2 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cache",
3-
"version": "4.3.0",
3+
"version": "5.0.0",
44
"private": true,
55
"description": "Cache dependencies and build outputs",
66
"main": "dist/restore/index.js",

0 commit comments

Comments
 (0)