Skip to content

Commit

Permalink
change from --rm-dist to --clean (deprecation)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjololo authored Oct 25, 2024
1 parent 6b98da5 commit e327b8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
uses: goreleaser/goreleaser-action@v6
if: success() && !startsWith(github.ref, 'refs/tags/')
with:
args: build --rm-dist --snapshot
args: build --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build release
uses: goreleaser/goreleaser-action@v6
if: success() && startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e327b8a

Please sign in to comment.