Skip to content

Move the artifact actions to their Node 24 versions - #198

Merged
sarbian merged 1 commit into
masterfrom
ci/artifact-actions-node24
Nov 29, 2026
Merged

sarbian merged 1 commit into
masterfrom
ci/artifact-actions-node24

Conversation

@sarbian

@sarbian sarbian commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Every build had two warnings in its annotations: actions/upload-artifact@v4 and actions/download-artifact@v4 target Node.js 20, which GitHub has deprecated, and were forced onto Node.js 24.

This moves them to actions/upload-artifact@v7 and actions/download-artifact@v8, which run on Node.js 24, as in MechJeb2's build.yml:

  • build.yml: the upload in the build job, the download in publish-dev
  • create-release.yml: the download in the release job

For review

None of the changes between these versions affects these workflows:

  • upload-artifact v7's direct (unzipped) uploads are opt-in (archive: false); the defaults are unchanged.
  • download-artifact v5 changed the output path of single downloads by ID; these download by name.
  • download-artifact v8 now fails the step on a digest mismatch instead of warning.
  • Every version from v4 on uses the same artifact backend, so a v7 upload and a v8 download work together.

This PR's build only runs the upload. The download runs in publish-dev on the merge's master build (and in create-release.yml on the next release), so that run is the first to exercise download-artifact@v8.

upload-artifact@v4 and download-artifact@v4 target Node 20, which GitHub
has deprecated: each run warned that they were forced onto Node 24.
upload-artifact@v7 and download-artifact@v8 run on Node 24, as in MechJeb2.

None of their changes affects these workflows: v7's direct uploads are opt-in,
download-artifact@v5's path change is for downloads by ID (these download by
name), and v8 now fails on a digest mismatch. Every version from v4 on uses
the same artifact backend, so a v7 upload and a v8 download work together.
@github-actions

Copy link
Copy Markdown
Contributor

Build Artifact

ModuleManager-68942fd.zip (built from 6fd2110)

@sarbian
sarbian merged commit 24ef528 into master Nov 29, 2026
2 checks passed
@sarbian
sarbian deleted the ci/artifact-actions-node24 branch November 29, 2026 12:47
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