jkleinsc

#50222: ci: update actions/cache to 5.0.3

Merged
Created: Mar 12, 2026, 8:48:56 AM
Merged: Mar 12, 2026, 7:45:02 PM
4 comments
Target: main

Description of Change

The following message was seen in a release build for 39-x-y:

Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@5a3ec84, actions/cache@5a3ec84, actions/checkout@11bd719. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Versions greater than 39 already have an updated actions/checkout so this PR just updates actions/cache. A separate PR will be opened to update actions/checkout for 39-x-y.

Checklist

Release Notes

Notes: none

Backports

39-x-y
Merged
PR Number
#50237
Merged At
Mar 13, 2026, 2:01:39 PM
Released In
Not yet
Release Date
Not yet
40-x-y
Merged
PR Number
#50236
Merged At
Mar 13, 2026, 4:04:57 AM
Released In
Not yet
Release Date
Not yet
41-x-y
Merged
PR Number
#50238
Merged At
Mar 13, 2026, 4:04:48 AM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron