From 6fd21106c236ab128ab31ba742642be9745217ff Mon Sep 17 00:00:00 2001 From: Sarbian Date: Sun, 29 Nov 2026 12:29:52 +0100 Subject: [PATCH] Move the artifact actions to their Node 24 versions 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/workflows/build.yml | 4 ++-- .github/workflows/create-release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8f862d..3ddc92c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,7 +138,7 @@ jobs: - name: Upload artifact id: upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ModuleManager-${{ steps.meta.outputs.label }} path: ${{ runner.temp }}/package @@ -188,7 +188,7 @@ jobs: KEEP: 15 # dev pre-releases to keep steps: - name: Download the build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: ModuleManager-${{ needs.build.outputs.label }} path: package diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index d3b8f44..9a460a3 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -73,7 +73,7 @@ jobs: ref: ${{ inputs.branch }} - name: Download the build - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: ModuleManager-${{ inputs.version-string }} path: package