Skip to content

Commit

Permalink
chore(workflows): adapt goreleaser action
Browse files Browse the repository at this point in the history
  • Loading branch information
lconsuegra committed May 26, 2023
1 parent 27ed34a commit 4697388
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
go-version: 1.18
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
builds:
- goos:
- linux
- darwin
archives:
- wrap_in_directory: true
name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Os }}-{{ .Arch }}"

0 comments on commit 4697388

Please sign in to comment.