ci: bump release.yml actions to Node 24 majors#89
Merged
Conversation
GitHub is forcing actions/github-script@v7 and actions/upload-artifact@v4
(both Node 20) onto Node 24 with a deprecation warning. Bump the
first-party actions in release.yml to their current Node 24 majors:
- actions/github-script v7 -> v9 (node24)
- actions/upload-artifact v4 -> v7 (node24)
- actions/download-artifact v4 -> v8 (node24)
Verified against changelogs that the breaking changes do not affect our
usage:
- github-script v9 only breaks require('@actions/github') / redeclaring
getOctokit; our scripts only require('fs') (an injected built-in).
- upload-artifact v7 adds an opt-in `archive` param (default unchanged).
- download-artifact v8 now errors on hash mismatch (secure-by-default;
won't trigger for valid downloads) and still supports pattern +
merge-multiple.
These actions are only referenced in release.yml, which runs on tag push
(not PRs), so PR CI will not exercise them; validated at next release tag.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clears the Node.js 20 deprecation warnings that surfaced during the v0.2.0 release. GitHub is force-running these Node-20 actions on Node 24; this bumps the first-party
actions/*inrelease.ymlto their current Node-24 majors.actions/github-scriptactions/upload-artifactactions/download-artifactBreaking-change review (verified safe for our usage)
require('@actions/github')/ redeclaringgetOctokit. Our 3 script blocks onlyrequire('fs')(an injected Node built-in), so unaffected.archiveparam (defaulttrue, unchanged behavior); our inputs (name/path/retention-days) unchanged.pattern+merge-multipleinputs.Testing note
These actions appear only in
release.yml, which triggers on tag push — not on PRs. So this PR's CI (test.yml+release-smoke.yml) will pass but won't exercise the change. Real validation happens at the next release tag, or via aworkflow_dispatchdry-run ofrelease.yml.Scope intentionally excludes the
node-version: '20'setup-node inputs (the job's own script runtime, not an action runtime) and third-party actions (rust-cache,tauri-action).🤖 Generated with Claude Code