Skip to content

CI: run the release artifact actions on Node 24 - #72

Merged
edkerk merged 1 commit into
developfrom
ci/artifact-actions-node24
Jul 16, 2026
Merged

CI: run the release artifact actions on Node 24#72
edkerk merged 1 commit into
developfrom
ci/artifact-actions-node24

Conversation

@edkerk

@edkerk edkerk commented Jul 16, 2026

Copy link
Copy Markdown
Member

Moves the release workflow's artifact actions off Node.js 20, which the other workflows left behind
in #35. release.yml was the last one still emitting the Node 20 deprecation annotation.

  • actions/upload-artifact@v4 -> @v7
  • actions/download-artifact@v4 -> @v8 (both the github-release and pypi jobs)

The two actions' majors are offset by one, so they take different numbers: v5 (upload) and v6
(download) still default to Node 20, and v7/v8 are the latest matched pair.

One behaviour change: download-artifact v8 defaults digest-mismatch to error, so a download
whose hash does not match now fails the run instead of publishing.

The multi-path upload (dist/ plus notes.md) and the resulting layout are unchanged. End-to-end
validation happens on the next v* tag push; ci.yml does not exercise release.yml.

actions/upload-artifact@v4 and actions/download-artifact@v4 target Node.js 20, so every
release run is annotated with the Node 20 deprecation warning. The rest of the workflows moved
to Node 24 action majors in #35 (checkout@v5, setup-python@v6); this brings the release
workflow in line.

The two actions' majors are offset by one, so they cannot both take the same number. v5 (upload)
and v6 (download) only added preliminary Node 24 support and still default to Node 20, which
would leave the warning in place; upload v6 and download v7 are the first to set
'runs.using: node24'. This takes the latest matched pair -- upload v7 with download v8 -- since
upload v7's direct uploads are what download v8's direct downloads consume.

Behaviour notes:
* download-artifact v8 defaults 'digest-mismatch' to error rather than warn, so a corrupted
  download now fails the run instead of publishing silently.
* Both require Actions Runner >= 2.327.1; the workflow runs on GitHub-hosted ubuntu-latest.
* The multi-path upload (dist/ plus notes.md) is unaffected: the paths still resolve through
  their least common ancestor to the workspace root, so both downstream jobs see 'dist/*'
  beside 'notes.md'. v7's single-file restriction applies only with 'archive: false'.
@edkerk
edkerk merged commit 88f9481 into develop Jul 16, 2026
8 checks passed
@edkerk
edkerk deleted the ci/artifact-actions-node24 branch July 18, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant