CI: pin upload-artifact to v3 for Gitea Actions compatibility

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.
This commit is contained in:
jwinterm
2026-05-15 20:04:02 -04:00
parent 87d58c7494
commit 6f039f64dd
+4 -1
View File
@@ -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