Skip to content

Commit

Permalink
fix: update GoReleaser step in release workflow to use latest version…
Browse files Browse the repository at this point in the history
… and clean distribution
  • Loading branch information
naka-gawa committed Nov 28, 2024
1 parent 38cb824 commit d91d462
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
go-version-file: go.mod
cache: true

# リリース
- uses: goreleaser/goreleaser-action@v4
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
args: release --rm-dist
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 自動で生成されるシークレット
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d91d462

Please sign in to comment.