fix: ci: do not use deprecated --debug goreleaser flag (#12086)

This commit is contained in:
Piotr Galar 2024-06-14 08:20:50 +02:00 committed by Phi
parent 6e13eac5d5
commit 7f4e3166ab
No known key found for this signature in database
GPG Key ID: AFAE959F938CC79E

View File

@ -119,8 +119,8 @@ jobs:
- uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
with:
distribution: goreleaser-pro
version: latest
args: release --clean --debug ${{ env.PUBLISH == 'false' && '--snapshot' || '' }}
version: 2.0.1
args: release --clean ${{ env.PUBLISH == 'false' && '--snapshot' || '' }}
workdir: lotus
env:
GITHUB_TOKEN: ${{ env.PUBLISH == 'true' && secrets.GORELEASER_GITUB_TOKEN || github.token || '' }}