Skip to content

Commit

Permalink
Static linking (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop authored Jul 6, 2023
1 parent 51b5c17 commit 1538c7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
go-version: 1.20.3
- name: Build artifacts
run: |
for cfgstr in "darwin amd64" "darwin arm64" "linux amd64" "windows amd64"; do
for cfgstr in "darwin amd64" "darwin arm64" "linux amd64" "windows amd64"; do
cfg=( $cfgstr )
export GOOS=${cfg[0]}
export GOARCH=${cfg[1]}
export CGO_ENABLED=0
go build -o mtb-$GOOS-$GOARCH
done
- name: Create Release
Expand Down

0 comments on commit 1538c7b

Please sign in to comment.