Skip to content

Commit

Permalink
ci: fix build for darwin/arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Sep 24, 2022
1 parent f02bd2a commit c588e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-for-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: go build -o bin/mada
- name: Running go build for ${{ matrix.target }}
if: matrix.target == 'aarch64-apple-darwin'
run: GOARCH=arm64 go build -o bin/mada
run: GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 SDKROOT=$(xcrun --sdk macosx --show-sdk-path) go build -o bin/mada
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Packaging final binary
Expand Down

0 comments on commit c588e41

Please sign in to comment.