From 6f039f64dd6899c57abd9b3b1a0dca45ac0f3b7b Mon Sep 17 00:00:00 2001 From: jwinterm Date: Fri, 15 May 2026 20:04:02 -0400 Subject: [PATCH] CI: pin upload-artifact to v3 for Gitea Actions compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gitea Actions does not implement the v2+ artifact HTTP API that GitHub introduced. upload-artifact@v4 fails with GHESNotSupportedError. v3 uses the older wire format that Gitea's act_runner handles correctly. The Linux build itself succeeded — this just lets the downloadable artifact get attached to the run page. --- .github/workflows/build-linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 68262d7e..7ed9efb6 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -167,8 +167,11 @@ jobs: zip -r hash_wallet_linux_${{ github.sha }}.zip bundle popd + # actions/upload-artifact@v4 uses an HTTP API that Gitea Actions does + # not implement (only the v1/v3 wire format). Pinned to @v3 for Gitea + # compatibility — also works on GitHub Actions. - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: hash-wallet-linux-${{ github.sha }} path: build/linux/x64/release/hash_wallet_linux_*.zip -- 2.50.1 (Apple Git-155)