Skip to content

Commit

Permalink
ci: fixes go build arguments in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtcoder17 committed Oct 19, 2024
1 parent 49c3c77 commit 58b228a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
CGO_ENABLED: 0
run: |+
binary=bin/run-${{ matrix.platform }}-${{ matrix.arch }}
go build -o $binary -ldflags="-s -w" -tags urfave_cli_no_docs cmd/run/main.go
go build -o $binary -ldflags="-s -w" -tags urfave_cli_no_docs ./cmd/run
if [ "${{ matrix.platform }}" = "linux" ]; then
upx $binary
Expand Down

0 comments on commit 58b228a

Please sign in to comment.