Skip to content

Commit

Permalink
add the build step for darwin arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
pallavJha authored Mar 21, 2022
1 parent 95d9c34 commit 63b8837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-extldflags=-static -w -s -X github.com/pallavJha/chaakoo/cmd.version=$version" -o "chaakoo-$version-linux-amd64" cmd/chaakoo/main.go
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -trimpath -ldflags="-extldflags=-static -w -s -X github.com/pallavJha/chaakoo/cmd.version=$version" -o "chaakoo-$version-linux-arm64" cmd/chaakoo/main.go
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -trimpath -ldflags="-extldflags=-static -w -s -X github.com/pallavJha/chaakoo/cmd.version=$version" -o "chaakoo-$version-darwin-amd64" cmd/chaakoo/main.go
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -trimpath -ldflags="-extldflags=-static -w -s -X github.com/pallavJha/chaakoo/cmd.version=$version" -o "chaakoo-$version-darwin-arm64" cmd/chaakoo/main.go
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -trimpath -ldflags="-extldflags=-static -w -s -X github.com/pallavJha/chaakoo/cmd.version=$version" -o "chaakoo-$version-windows-amd64" cmd/chaakoo/main.go
- name: Upload release artifacts
uses: actions/github-script@v3
Expand Down

0 comments on commit 63b8837

Please sign in to comment.