ci: bump upload/download-artifact to Node 24 majors#36088
Conversation
Follow-up to #36085. Bumps the artifact actions to their first Node-24 majors: actions/upload-artifact v4 -> v6 actions/download-artifact v4 -> v7 Reviewed for breaking changes (this is why they were split out): - Inputs are identical across the bump (name, path, pattern, merge-multiple, retention-days, if-no-files-found, etc.). - download-artifact v5's only behavioral break affects downloads by `artifact-ids`; every usage here is by `name` or `pattern`/`merge-multiple`, so the migration guide's "no action needed" applies. Pinned to v7 (not v8, whose no-unzip change does not apply). - v6/v7 require Actions Runner >= 2.327.1, satisfied by hosted ubuntu-24.04. A FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 smoke-test already proved the v4 actions run on Node 24, so this only clears the deprecation warning. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @wezell's task in 1m 36s —— View job PR Review: ci: bump upload/download-artifact to Node 24 majors
Clean. No issues. The PR description's safety analysis is accurate and complete. Confirming:
|
What
Bump the artifact actions to their first Node-24 majors, repo-wide.
Fixes #36087
actions/upload-artifactactions/download-artifactSplit out from #36086 because these are multi-major jumps (the artifact actions have breaking-API history), so they got a dedicated review.
Why this is safe (reviewed)
action.yml. The pipeline'sname,path,pattern,merge-multiple,retention-days,if-no-files-foundall still exist and behave the same.artifact-ids. Every download-artifact usage in this repo is bynameorpattern/merge-multiple— none usesartifact-ids— so the upstream migration guide's "✅ no action needed" applies. Pinned to v7 (not v8, whose "no longer unzips" change would matter).ubuntu-24.04runners.FORCE_JAVASCRIPT_ACTIONS_TO_NODE24smoke-test already proved the existing v4 artifact actions run on Node 24, so this isn't a cutover risk — it just clears the deprecation warning.Relationship to #36086
#36086 bumps the clean first-party actions (checkout/setup-node/setup-python/github-script/cache). Together with this PR, all first-party actions are on Node-24 majors. The two PRs touch different
@vNlines and can merge in either order.