From 68c92bef516bff11fd9edbaaa14d93ed7d28798a Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Fri, 13 Sep 2024 17:08:19 +0200 Subject: [PATCH] Update release.yml Syntax changed when upgrading from `v5.1.0` to `v6.0.0` --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c5d072e..e238bb44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6.0.0 with: - version: latest - args: release --rm-dist - key: ${{ secrets.YOUR_PRIVATE_KEY }} + version: '~> v2' + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}