mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user