From 79e439dbc7c167841c9ce7b872cc1dbf3ccafad7 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 11 Jun 2024 11:20:41 +0800 Subject: [PATCH] ci: update goreleaser action and version specification - Update `goreleaser` action from v5 to v6 - Change `goreleaser` version specification to `~> v2` Signed-off-by: Bo-Yi Wu --- .gitea/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 4625196..eb449e1 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -40,11 +40,11 @@ jobs: key: go_path-${{ steps.hash-go.outputs.hash } - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser - version: latest + version: "~> v2" args: release --clean env: GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}