From 6cd541de23bd65e2c560cdd6a8e04294c07b00ae Mon Sep 17 00:00:00 2001 From: magges Date: Sat, 11 Jul 2026 22:26:57 +0000 Subject: [PATCH] Fix CI: downgrade upload/download-artifact to v3 for Gitea compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All 8 packages built and verified successfully in task 96 — the only remaining failure was the very last step: actions/upload-artifact@v4 errored with GHESNotSupportedError. Gitea Actions' built-in artifact storage doesn't implement the newer v2 upload/download API that upload-artifact@v4/download-artifact@v4 require. Downgraded both (they must match — v3 and v4 artifacts aren't cross-compatible) to v3, which uses the older protocol Gitea does support. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/build-packages.yml | 10 +++++++++- .github/workflows/release.yml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index a4807a2..e3bb243 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -69,6 +69,14 @@ on: # installs a pinned, checksum-verified Node.js release directly from # nodejs.org — the same style already used for Go/Rust in # scripts/ci/setup-slackware-buildenv.sh. +# +# upload-artifact is pinned to v3, not v4 — Gitea Actions' built-in +# artifact storage does not implement the newer v2 upload/download API +# that actions/upload-artifact@v4 and actions/download-artifact@v4 +# require; uploading fails outright with "GHESNotSupportedError". v3 uses +# the older, still-supported protocol. release.yml's download-artifact +# must stay on the matching v3 — the two protocols aren't compatible with +# each other. env: SLACKWARE_IMAGE: "vbatts/slackware:15.0" NODE_VERSION: "20.20.2" @@ -143,7 +151,7 @@ jobs: run: echo "value=podman-packages-${{ github.sha }}" >> "$GITHUB_OUTPUT" - name: Upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: ${{ steps.artifact-name.outputs.value }} path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2df34f9..b86c0ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - name: Download built packages - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: ${{ needs.build.outputs.artifact-name }} path: dist