From fcc40ca784816d80df76b363c94fafe9e1ef4942 Mon Sep 17 00:00:00 2001 From: Patrick Cowland Date: Mon, 19 Aug 2024 09:52:13 +0100 Subject: [PATCH] correct goreleaser action --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8f5d39c..6051cf1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,9 +41,10 @@ jobs: name: Run GoReleaser uses: goreleaser/goreleaser-action@v6.0.0 with: - version: latest - args: release --rm-dist + version: "~> v2" + args: release --clean + distribution: goreleaser env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} # GitHub sets this automatically - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file