diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5900ecd5..2aba631e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,6 @@ # You will need to pass the `--batch` flag to `gpg` in your signing step # in `goreleaser` to indicate this is being used in a non-interactive mode. # -version: "2" name: release on: push: @@ -41,9 +40,9 @@ jobs: PASSPHRASE: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: "~> v2" args: release --snapshot --skip-publish env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}