diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30f3dc9..a31b76d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: goreleaserbuild: name: Build Go binaries if: github.event_name == 'pull_request' - runs-on: ubuntu-latest + runs-on: macos-latest needs: [web, test] steps: - name: Checkout @@ -100,7 +100,7 @@ jobs: with: distribution: goreleaser version: latest - args: release --clean --skip-validate --skip-publish + args: release --clean --skip-validate --skip-publish --parallelism 99 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -108,7 +108,9 @@ jobs: uses: actions/upload-artifact@v3 with: name: autobrr - path: dist/*.tar.gz + path: | + dist/*.tar.gz + dist/*.zip goreleaser: name: Build and publish binaries @@ -147,7 +149,9 @@ jobs: uses: actions/upload-artifact@v3 with: name: autobrr - path: dist/*.tar.gz + path: | + dist/*.tar.gz + dist/*.zip docker: name: Build and publish Docker images diff --git a/.goreleaser.yml b/.goreleaser.yml index a8a88cf..1d5095b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -67,6 +67,9 @@ archives: - none* replacements: amd64: x86_64 + format_overrides: + - goos: windows + format: zip release: prerelease: auto