diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index efd35c37..84ee8c6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,8 +46,9 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: latest - args: release --clean + distribution: goreleaser + version: "~> v2" + args: release --rm-dist env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}