Skip to content

Commit 9cf5a6a

Browse files
committed
Resolve goreleaser deprecation warning
1 parent 6d2d381 commit 9cf5a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # ratchet:goreleaser/goreleaser-action@v4
115115
with:
116116
version: latest
117-
args: release --rm-dist ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }} ${{ ((startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-draft')) && '-f .goreleaser.draft.yml') || '' }}
117+
args: release --clean ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }} ${{ ((startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, '-draft')) && '-f .goreleaser.draft.yml') || '' }}
118118
env:
119119
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
120120
LDFLAGS: ${{ steps.release-vars.outputs.LDFLAGS }}

0 commit comments

Comments
 (0)