diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc80165..a53b172 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,11 @@ jobs: - name: Install Go 1.19 uses: actions/setup-go@v2 with: - go-version: '1.19.x' - - name: Goreleaser publish - uses: goreleaser/goreleaser-action@v1 + go-version: '1.21.x' + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v3 with: - version: v1.21.x - args: release --rm-dist + args: release --clean --skip=validate + version: latest env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}