diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d61fe0a..b10056f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: echo "Built ${OUT}" - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: app-${{ matrix.goos }}-${{ matrix.goarch }} path: dist/${{ matrix.goos }}-${{ matrix.goarch }}/* diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index cf813ea..a2575c6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -38,7 +38,7 @@ jobs: if [ "${GOOS}" = "windows" ]; then OUT="${OUT}.exe"; fi go build -trimpath -ldflags="-s -w" -o "${OUT}" ./ - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: yourapp-${{ github.ref_name }}-${{ matrix.goos }}-${{ matrix.goarch }} path: dist/${{ matrix.goos }}-${{ matrix.goarch }}/*