From 6d7a11ff6d8cb540edb5dd076379ac0d28b9bf8e Mon Sep 17 00:00:00 2001 From: Rick <1450685+LinuxSuRen@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:06:37 +0800 Subject: [PATCH] fix: the gorelease is incorrect in github aciton (#63) Co-authored-by: rick --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2d3d298..66fd874 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,10 +20,10 @@ jobs: with: go-version: 1.22 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2.9.1 + uses: goreleaser/goreleaser-action@v6 with: - version: latest - args: release --rm-dist + version: '~> v2' + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_PUBLISH_SECRETS }} image: