From 1bd719fa5897fa9fee8687f5d1ffbf5718d9270d Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Sun, 28 Jun 2026 21:53:07 +0200 Subject: [PATCH] ci: downgrade artifact actions to v3 for Gitea GHES compatibility upload-artifact@v4 and download-artifact@v4 are not supported on GHES. Also drop merge-multiple (v4-only) and adjust release glob to artifacts/*/*. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 926365e..919fe81 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -44,7 +44,7 @@ jobs: go build -trimpath -ldflags="-s -w" -o "dist/waste-daemon-${SUFFIX}${EXT}" ./cmd/daemon go build -trimpath -ldflags="-s -w" -o "dist/waste-anchor-${SUFFIX}${EXT}" ./cmd/anchor - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: server-${{ matrix.goos }}-${{ matrix.goarch }} path: dist/ @@ -93,7 +93,7 @@ jobs: cd cmd/app wails build -trimpath -ldflags="-s -w" -o ../../dist/waste-linux-amd64 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 with: name: desktop-linux-amd64 path: dist/waste-linux-amd64 @@ -107,14 +107,13 @@ jobs: if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v3 with: path: artifacts/ - merge-multiple: true - name: Create release uses: https://gitea.com/actions/gitea-release-action@main with: token: ${{ secrets.RELEASE_TOKEN }} - files: artifacts/* + files: artifacts/*/* prerelease: ${{ contains(github.ref_name, '-') }}