ci: bump artifact actions to Node-24 majors (upload@v7, download@v8)#27
Merged
Conversation
actions/upload-artifact@v5 and download-artifact@v5 still run on Node 20 (deprecated; forced to Node 24 on runners from 2026-09-16). Bump to the latest majors, which both run node24: upload-artifact@v7, download-artifact@v8. They share the v4+ artifact backend, so the upload (build job) / download (publish jobs) pair stays compatible despite the different major numbers. publish-pypi.yaml is tag-triggered, so PR CI does not exercise it; the pair is validated at the next release tag. A mismatch would fail the publish job (download before publish) without uploading anything, so it cannot mis-publish.
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
actions/upload-artifact@v5anddownload-artifact@v5still run on Node 20 (deprecated; forced to Node 24 on GitHub runners from 2026-09-16 — visible as a warning on every publish run). Bump to the latest majors, both of which runnode24:actions/upload-artifact@v5→@v7actions/download-artifact@v5→@v8(×2)Compatibility
The different major numbers (7 vs 8) are fine: both are on the v4+ artifact backend, so the upload (build job) / download (publish jobs) pair stays compatible. This is the matched-pair version of the earlier Dependabot PRs #14/#17, which were held precisely to move them together.
Validation note
publish-pypi.yamlis tag-triggered, so PR CI does not run it — the pair is validated at the next release tag. A mismatch would fail the publish job (download happens before the PyPI upload), so it cannot mis-publish — the failure mode is safe. Only YAML validity is checked here.