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 <appleboy.tw@gmail.com>
This commit is contained in:
parent
a4b8f12321
commit
79e439dbc7
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue