Skip to content

Commit

Permalink
fixes on action CI
Browse files Browse the repository at this point in the history
  • Loading branch information
xm1k3 committed Jul 19, 2023
1 parent 2959842 commit 3a9b1dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: "Create release on GitHub"
uses: goreleaser/goreleaser-action@v4
with:
args: "release --rm-dist"
args: "release --clean"
version: latest
workdir: .
env:
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ builds:
goarch: 'arm64'

binary: '{{ .ProjectName }}'
main: cmd/{{ .ProjectName }}/{{ .ProjectName }}.go
# main: cmd/{{ .ProjectName }}/{{ .ProjectName }}.go
main: main.go

archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}'

checksum:
algorithm: sha256

0 comments on commit 3a9b1dd

Please sign in to comment.