Update actions/cache action to v5 #3

Merged
redbinder0526 merged 1 commit from renovate/actions-cache-5.x into main 2026-04-28 23:20:12 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
actions/cache action major v4v5

Release Notes

actions/cache (actions/cache)

v5.0.5

Compare Source

What's Changed

Full Changelog: https://github.com/actions/cache/compare/v5...v5.0.5

v5.0.4

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v5...v5.0.4

v5.0.3

Compare Source

What's Changed

Full Changelog: https://github.com/actions/cache/compare/v5...v5.0.3

v5.0.2: v.5.0.2

Compare Source

v5.0.2

What's Changed

When creating cache entries, 429s returned from the cache service will not be retried.

v5.0.1

Compare Source

[!IMPORTANT]
actions/cache@v5 runs on the Node.js 24 runtime and requires a minimum Actions Runner version of 2.327.1.

If you are using self-hosted runners, ensure they are updated before upgrading.


v5.0.1

What's Changed

v5.0.0

What's Changed

Full Changelog: https://github.com/actions/cache/compare/v5...v5.0.1

v5.0.0

Compare Source

[!IMPORTANT]
actions/cache@v5 runs on the Node.js 24 runtime and requires a minimum Actions Runner version of 2.327.1.

If you are using self-hosted runners, ensure they are updated before upgrading.


What's Changed

Full Changelog: https://github.com/actions/cache/compare/v4.3.0...v5.0.0

v5

Compare Source

v4.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4...v4.3.0

v4.2.4

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4...v4.2.4

v4.2.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4.2.2...v4.2.3

v4.2.2

Compare Source

What's Changed

[!IMPORTANT]
As a reminder, there were important backend changes to release v4.2.0, see those release notes and the announcement for more details.

Full Changelog: https://github.com/actions/cache/compare/v4.2.1...v4.2.2

v4.2.1

Compare Source

What's Changed

[!IMPORTANT]
As a reminder, there were important backend changes to release v4.2.0, see those release notes and the announcement for more details.

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4.2.0...v4.2.1

v4.2.0

Compare Source

⚠️ Important Changes

The cache backend service has been rewritten from the ground up for improved performance and reliability. actions/cache now integrates with the new cache service (v2) APIs.

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 release are fully backward compatible.

We are deprecating some versions of this action. We recommend upgrading to version v4 or v3 as soon as possible before February 1st, 2025. (Upgrade instructions below).

If you are using pinned SHAs, please use the SHAs of versions v4.2.0 or v3.4.0

If you do not upgrade, all workflow runs using any of the deprecated actions/cache will fail.

Upgrading to the recommended versions will not break your workflows.

Read more about the change & access the migration guide: reference to the announcement.

Minor changes

Minor and patch version updates for these dependencies:

Full Changelog: https://github.com/actions/cache/compare/v4.1.2...v4.2.0

v4.1.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4.1.1...v4.1.2

v4.1.1

Compare Source

What's Changed

Full Changelog: https://github.com/actions/cache/compare/v4.1.0...v4.1.1

v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4.0.2...v4.1.0

v4.0.2

Compare Source

What's Changed

Full Changelog: https://github.com/actions/cache/compare/v4.0.1...v4.0.2

v4.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4...v4.0.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://github.com/actions/cache) | action | major | `v4` → `v5` | --- ### Release Notes <details> <summary>actions/cache (actions/cache)</summary> ### [`v5.0.5`](https://github.com/actions/cache/releases/tag/v5.0.5) [Compare Source](https://github.com/actions/cache/compare/v5.0.4...v5.0.5) #### What's Changed - Update ts-http-runtime dependency by [@&#8203;yacaovsnc](https://github.com/yacaovsnc) in [#&#8203;1747](https://github.com/actions/cache/pull/1747) **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.5> ### [`v5.0.4`](https://github.com/actions/cache/releases/tag/v5.0.4) [Compare Source](https://github.com/actions/cache/compare/v5.0.3...v5.0.4) #### What's Changed - Add release instructions and update maintainer docs by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1696](https://github.com/actions/cache/pull/1696) - Potential fix for code scanning alert no. 52: Workflow does not contain permissions by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1697](https://github.com/actions/cache/pull/1697) - Fix workflow permissions and cleanup workflow names / formatting by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1699](https://github.com/actions/cache/pull/1699) - docs: Update examples to use the latest version by [@&#8203;XZTDean](https://github.com/XZTDean) in [#&#8203;1690](https://github.com/actions/cache/pull/1690) - Fix proxy integration tests by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1701](https://github.com/actions/cache/pull/1701) - Fix cache key in examples.md for bun.lock by [@&#8203;RyPeck](https://github.com/RyPeck) in [#&#8203;1722](https://github.com/actions/cache/pull/1722) - Update dependencies & patch security vulnerabilities by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1738](https://github.com/actions/cache/pull/1738) #### New Contributors - [@&#8203;XZTDean](https://github.com/XZTDean) made their first contribution in [#&#8203;1690](https://github.com/actions/cache/pull/1690) - [@&#8203;RyPeck](https://github.com/RyPeck) made their first contribution in [#&#8203;1722](https://github.com/actions/cache/pull/1722) **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.4> ### [`v5.0.3`](https://github.com/actions/cache/releases/tag/v5.0.3) [Compare Source](https://github.com/actions/cache/compare/v5.0.2...v5.0.3) #### What's Changed - Bump `@actions/cache` to v5.0.5 (Resolves: <https://github.com/actions/cache/security/dependabot/33>) - Bump `@actions/core` to v2.0.3 **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.3> ### [`v5.0.2`](https://github.com/actions/cache/releases/tag/v5.0.2): v.5.0.2 [Compare Source](https://github.com/actions/cache/compare/v5.0.1...v5.0.2) ### v5.0.2 #### What's Changed When creating cache entries, 429s returned from the cache service will not be retried. ### [`v5.0.1`](https://github.com/actions/cache/releases/tag/v5.0.1) [Compare Source](https://github.com/actions/cache/compare/v5...v5.0.1) > \[!IMPORTANT] > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > If you are using self-hosted runners, ensure they are updated before upgrading. *** ### v5.0.1 #### What's Changed - fix: update [@&#8203;actions/cache](https://github.com/actions/cache) for Node.js 24 punycode deprecation by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1685](https://github.com/actions/cache/pull/1685) - prepare release v5.0.1 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1686](https://github.com/actions/cache/pull/1686) ### v5.0.0 #### What's Changed - Upgrade to use node24 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1630](https://github.com/actions/cache/pull/1630) - Prepare v5.0.0 release by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1684](https://github.com/actions/cache/pull/1684) **Full Changelog**: <https://github.com/actions/cache/compare/v5...v5.0.1> ### [`v5.0.0`](https://github.com/actions/cache/releases/tag/v5.0.0) [Compare Source](https://github.com/actions/cache/compare/v5...v5) > \[!IMPORTANT] > **`actions/cache@v5` runs on the Node.js 24 runtime and requires a minimum Actions Runner version of `2.327.1`.** > > If you are using self-hosted runners, ensure they are updated before upgrading. *** #### What's Changed - Upgrade to use node24 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1630](https://github.com/actions/cache/pull/1630) - Prepare v5.0.0 release by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1684](https://github.com/actions/cache/pull/1684) **Full Changelog**: <https://github.com/actions/cache/compare/v4.3.0...v5.0.0> ### [`v5`](https://github.com/actions/cache/compare/v4.3.0...v5) [Compare Source](https://github.com/actions/cache/compare/v4.3.0...v5) ### [`v4.3.0`](https://github.com/actions/cache/releases/tag/v4.3.0) [Compare Source](https://github.com/actions/cache/compare/v4.2.4...v4.3.0) #### What's Changed - Add note on runner versions by [@&#8203;GhadimiR](https://github.com/GhadimiR) in [#&#8203;1642](https://github.com/actions/cache/pull/1642) - Prepare `v4.3.0` release by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1655](https://github.com/actions/cache/pull/1655) #### New Contributors - [@&#8203;GhadimiR](https://github.com/GhadimiR) made their first contribution in [#&#8203;1642](https://github.com/actions/cache/pull/1642) **Full Changelog**: <https://github.com/actions/cache/compare/v4...v4.3.0> ### [`v4.2.4`](https://github.com/actions/cache/releases/tag/v4.2.4) [Compare Source](https://github.com/actions/cache/compare/v4.2.3...v4.2.4) #### What's Changed - Update README.md by [@&#8203;nebuk89](https://github.com/nebuk89) in [#&#8203;1620](https://github.com/actions/cache/pull/1620) - Upgrade `@actions/cache` to `4.0.5` and move `@protobuf-ts/plugin` to dev depdencies by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1634](https://github.com/actions/cache/pull/1634) - Prepare release `4.2.4` by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1636](https://github.com/actions/cache/pull/1636) #### New Contributors - [@&#8203;nebuk89](https://github.com/nebuk89) made their first contribution in [#&#8203;1620](https://github.com/actions/cache/pull/1620) **Full Changelog**: <https://github.com/actions/cache/compare/v4...v4.2.4> ### [`v4.2.3`](https://github.com/actions/cache/releases/tag/v4.2.3) [Compare Source](https://github.com/actions/cache/compare/v4.2.2...v4.2.3) #### What's Changed - Update to use [@&#8203;actions/cache](https://github.com/actions/cache) 4.0.3 package & prepare for new release by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1577](https://github.com/actions/cache/pull/1577) (SAS tokens for cache entries are now masked in debug logs) #### New Contributors - [@&#8203;salmanmkc](https://github.com/salmanmkc) made their first contribution in [#&#8203;1577](https://github.com/actions/cache/pull/1577) **Full Changelog**: <https://github.com/actions/cache/compare/v4.2.2...v4.2.3> ### [`v4.2.2`](https://github.com/actions/cache/releases/tag/v4.2.2) [Compare Source](https://github.com/actions/cache/compare/v4.2.1...v4.2.2) #### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](https://github.com/actions/cache/discussions/1510) for more details. - Bump [@&#8203;actions/cache](https://github.com/actions/cache) to v4.0.2 by [@&#8203;robherley](https://github.com/robherley) in [#&#8203;1560](https://github.com/actions/cache/pull/1560) **Full Changelog**: <https://github.com/actions/cache/compare/v4.2.1...v4.2.2> ### [`v4.2.1`](https://github.com/actions/cache/releases/tag/v4.2.1) [Compare Source](https://github.com/actions/cache/compare/v4.2.0...v4.2.1) #### What's Changed > \[!IMPORTANT] > As a reminder, there were important backend changes to release v4.2.0, see [those release notes](https://github.com/actions/cache/releases/tag/v4.2.0) and [the announcement](https://github.com/actions/cache/discussions/1510) for more details. - docs: GitHub is spelled incorrectly in caching-strategies.md by [@&#8203;janco-absa](https://github.com/janco-absa) in [#&#8203;1526](https://github.com/actions/cache/pull/1526) - docs: Make the "always save prime numbers" example more clear by [@&#8203;Tobbe](https://github.com/Tobbe) in [#&#8203;1525](https://github.com/actions/cache/pull/1525) - Update force deletion docs due a recent deprecation by [@&#8203;sebbalex](https://github.com/sebbalex) in [#&#8203;1500](https://github.com/actions/cache/pull/1500) - Bump [@&#8203;actions/cache](https://github.com/actions/cache) to v4.0.1 by [@&#8203;robherley](https://github.com/robherley) in [#&#8203;1554](https://github.com/actions/cache/pull/1554) #### New Contributors - [@&#8203;janco-absa](https://github.com/janco-absa) made their first contribution in [#&#8203;1526](https://github.com/actions/cache/pull/1526) - [@&#8203;Tobbe](https://github.com/Tobbe) made their first contribution in [#&#8203;1525](https://github.com/actions/cache/pull/1525) - [@&#8203;sebbalex](https://github.com/sebbalex) made their first contribution in [#&#8203;1500](https://github.com/actions/cache/pull/1500) **Full Changelog**: <https://github.com/actions/cache/compare/v4.2.0...v4.2.1> ### [`v4.2.0`](https://github.com/actions/cache/releases/tag/v4.2.0) [Compare Source](https://github.com/actions/cache/compare/v4.1.2...v4.2.0) #### ⚠️ Important Changes 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. 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 release are **fully backward compatible**. **We are deprecating some versions of this action**. We recommend upgrading to version `v4` or `v3` as soon as possible before **February 1st, 2025.** (Upgrade instructions below). If you are using pinned SHAs, please use the SHAs of versions `v4.2.0` or `v3.4.0` If you do not upgrade, all workflow runs using any of the deprecated [actions/cache](https://github.com/actions/cache) will fail. Upgrading to the recommended versions will not break your workflows. Read more about the change & access the migration guide: [reference to the announcement](https://github.com/actions/cache/discussions/1510). ##### Minor changes Minor and patch version updates for these dependencies: - [@&#8203;actions/core](https://github.com/actions/core): `1.11.1` - [@&#8203;actions/io](https://github.com/actions/io): `1.1.3` - [@&#8203;vercel/ncc](https://github.com/vercel/ncc): `0.38.3` **Full Changelog**: <https://github.com/actions/cache/compare/v4.1.2...v4.2.0> ### [`v4.1.2`](https://github.com/actions/cache/releases/tag/v4.1.2) [Compare Source](https://github.com/actions/cache/compare/v4.1.1...v4.1.2) #### What's Changed - Add Bun example by [@&#8203;idleberg](https://github.com/idleberg) in [#&#8203;1456](https://github.com/actions/cache/pull/1456) - Revise `isGhes` logic by [@&#8203;jww3](https://github.com/jww3) in [#&#8203;1474](https://github.com/actions/cache/pull/1474) - Bump braces from 3.0.2 to 3.0.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1475](https://github.com/actions/cache/pull/1475) - Add dependabot.yml to enable automatic dependency upgrades by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1476](https://github.com/actions/cache/pull/1476) - Bump actions/checkout from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1478](https://github.com/actions/cache/pull/1478) - Bump actions/stale from 3 to 9 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1479](https://github.com/actions/cache/pull/1479) - Bump github/codeql-action from 2 to 3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1483](https://github.com/actions/cache/pull/1483) - Bump actions/setup-node from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1481](https://github.com/actions/cache/pull/1481) - Prepare `4.1.2` release by [@&#8203;Link-](https://github.com/Link-) in [#&#8203;1477](https://github.com/actions/cache/pull/1477) #### New Contributors - [@&#8203;idleberg](https://github.com/idleberg) made their first contribution in [#&#8203;1456](https://github.com/actions/cache/pull/1456) - [@&#8203;jww3](https://github.com/jww3) made their first contribution in [#&#8203;1474](https://github.com/actions/cache/pull/1474) - [@&#8203;Link-](https://github.com/Link-) made their first contribution in [#&#8203;1476](https://github.com/actions/cache/pull/1476) **Full Changelog**: <https://github.com/actions/cache/compare/v4.1.1...v4.1.2> ### [`v4.1.1`](https://github.com/actions/cache/releases/tag/v4.1.1) [Compare Source](https://github.com/actions/cache/compare/v4.1.0...v4.1.1) #### What's Changed - Restore original behavior of `cache-hit` output by [@&#8203;joshmgross](https://github.com/joshmgross) in [#&#8203;1467](https://github.com/actions/cache/pull/1467) **Full Changelog**: <https://github.com/actions/cache/compare/v4.1.0...v4.1.1> ### [`v4.1.0`](https://github.com/actions/cache/releases/tag/v4.1.0) [Compare Source](https://github.com/actions/cache/compare/v4.0.2...v4.1.0) #### What's Changed - Fix cache-hit output when cache missed by [@&#8203;fchimpan](https://github.com/fchimpan) in [#&#8203;1404](https://github.com/actions/cache/pull/1404) - Deprecate `save-always` input by [@&#8203;joshmgross](https://github.com/joshmgross) in [#&#8203;1452](https://github.com/actions/cache/pull/1452) #### New Contributors - [@&#8203;ottlinger](https://github.com/ottlinger) made their first contribution in [#&#8203;1437](https://github.com/actions/cache/pull/1437) - [@&#8203;Olegt0rr](https://github.com/Olegt0rr) made their first contribution in [#&#8203;1377](https://github.com/actions/cache/pull/1377) - [@&#8203;fchimpan](https://github.com/fchimpan) made their first contribution in [#&#8203;1404](https://github.com/actions/cache/pull/1404) - [@&#8203;x612skm](https://github.com/x612skm) made their first contribution in [#&#8203;1434](https://github.com/actions/cache/pull/1434) - [@&#8203;todgru](https://github.com/todgru) made their first contribution in [#&#8203;1311](https://github.com/actions/cache/pull/1311) - [@&#8203;Jcambass](https://github.com/Jcambass) made their first contribution in [#&#8203;1463](https://github.com/actions/cache/pull/1463) - [@&#8203;mackey0225](https://github.com/mackey0225) made their first contribution in [#&#8203;1462](https://github.com/actions/cache/pull/1462) - [@&#8203;quatquatt](https://github.com/quatquatt) made their first contribution in [#&#8203;1445](https://github.com/actions/cache/pull/1445) **Full Changelog**: <https://github.com/actions/cache/compare/v4.0.2...v4.1.0> ### [`v4.0.2`](https://github.com/actions/cache/releases/tag/v4.0.2) [Compare Source](https://github.com/actions/cache/compare/v4.0.1...v4.0.2) #### What's Changed - Fix `fail-on-cache-miss` not working by [@&#8203;cdce8p](https://github.com/cdce8p) in [#&#8203;1327](https://github.com/actions/cache/pull/1327) **Full Changelog**: <https://github.com/actions/cache/compare/v4.0.1...v4.0.2> ### [`v4.0.1`](https://github.com/actions/cache/releases/tag/v4.0.1) [Compare Source](https://github.com/actions/cache/compare/v4...v4.0.1) #### What's Changed - Update README.md by [@&#8203;yacaovsnc](https://github.com/yacaovsnc) in [#&#8203;1304](https://github.com/actions/cache/pull/1304) - Update examples by [@&#8203;yacaovsnc](https://github.com/yacaovsnc) in [#&#8203;1305](https://github.com/actions/cache/pull/1305) - Update actions/cache publish flow by [@&#8203;bethanyj28](https://github.com/bethanyj28) in [#&#8203;1340](https://github.com/actions/cache/pull/1340) - Update [@&#8203;actions/cache](https://github.com/actions/cache) by [@&#8203;bethanyj28](https://github.com/bethanyj28) in [#&#8203;1341](https://github.com/actions/cache/pull/1341) #### New Contributors - [@&#8203;yacaovsnc](https://github.com/yacaovsnc) made their first contribution in [#&#8203;1304](https://github.com/actions/cache/pull/1304) **Full Changelog**: <https://github.com/actions/cache/compare/v4...v4.0.1> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update actions/cache action to v5
Some checks failed
Build and Test / cache-mii (push) Failing after 3m30s
Build and Test / cache-mii (pull_request) Successful in 3m36s
52819bf4bf
redbinder0526 deleted branch renovate/actions-cache-5.x 2026-04-28 23:20:14 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
spacebar/cache-mii!3
No description provided.