diff --git a/.github/workflows/build-binary.yml b/.github/workflows/build-binary.yml index 94f300c..de71daf 100644 --- a/.github/workflows/build-binary.yml +++ b/.github/workflows/build-binary.yml @@ -27,6 +27,6 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: version: v2.1.0 - args: build --rm-dist --skip-validate + args: build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index c4fa921..808bff7 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -27,16 +27,7 @@ jobs: - name: Compile the source uses: goreleaser/goreleaser-action@v6 with: - version: latest - args: build --rm-dist --skip-validate - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v6 - with: - distribution: goreleaser - version: latest - args: release --rm-dist + version: v2.1.0 + args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}