Skip to content

Commit

Permalink
changed workflow
Browse files Browse the repository at this point in the history
Signed-off-by: safderun <[email protected]>
  • Loading branch information
burakberkkeskin committed Oct 21, 2023
1 parent e9f2801 commit 399e0e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
- name: Binary Build
run: |
mkdir build
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/cmd.main=$commitId" -o build/gomtp-Linux-x86_64 -v .
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/cmd.main=$commitId" -o build/gomtp-Linux-arm64 -v .
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/cmd.main=$commitId" -o build/gomtp-Darwin-x86_64 -v .
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/cmd.main=$commitId" -o build/gomtp-Darwin-arm64 -v .
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/main.commitId=$commitId" -o build/gomtp-Linux-x86_64 -v .
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/main.commitId=$commitId" -o build/gomtp-Linux-arm64 -v .
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/main.commitId=$commitId" -o build/gomtp-Darwin-x86_64 -v .
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-X gomtp/main.version=$version -X gomtp/main.commitId=$commitId" -o build/gomtp-Darwin-arm64 -v .
env:
version: ${{ steps.metadata.outputs.version }}
commitId: ${{ steps.metadata.outputs.commitId }}
Expand Down

0 comments on commit 399e0e9

Please sign in to comment.