diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0f5f287..1054971 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,10 +21,10 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: - version: latest - args: release + version: '~> v2' + args: release --clean env: CGO_ENABLED: 0 GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }} \ No newline at end of file