diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8e7c6e..b6b157e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -279,21 +279,23 @@ jobs: if: github.event_name == 'pull_request' uses: goreleaser/goreleaser-action@v6 with: - distribution: goreleaser + distribution: goreleaser-pro version: "~> v2" args: release --clean --skip=validate,publish --parallelism 5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} - name: Run GoReleaser build and publish tags if: startsWith(github.ref, 'refs/tags/') uses: goreleaser/goreleaser-action@v6 with: - distribution: goreleaser + distribution: goreleaser-pro version: "~> v2" - args: release --clean + args: release --clean --parallelism 5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} - name: Create web-dist artifact if: startsWith(github.ref, 'refs/tags/')