Repository navigation
Move the artifact actions to their Node 24 versions - #198
Merged
Merged
Conversation
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.
Contributor
Build ArtifactModuleManager-68942fd.zip (built from 6fd2110) |
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.
Every build had two warnings in its annotations:
actions/upload-artifact@v4andactions/download-artifact@v4target Node.js 20, which GitHub has deprecated, and were forced onto Node.js 24.This moves them to
actions/upload-artifact@v7andactions/download-artifact@v8, which run on Node.js 24, as in MechJeb2'sbuild.yml:build.yml: the upload in the build job, the download inpublish-devcreate-release.yml: the download in the release jobFor review
None of the changes between these versions affects these workflows:
archive: false); the defaults are unchanged.This PR's build only runs the upload. The download runs in
publish-devon the merge's master build (and increate-release.ymlon the next release), so that run is the first to exercise download-artifact@v8.