Skip to content

Commit

Permalink
set CGO_ENABLED=1 in release ci cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cage1016 committed Nov 20, 2022
1 parent 1bd3663 commit 5dcee0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
id: build
run: |
# build package
GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o exe_amd64
GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o exe_arm64
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o exe_amd64
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o exe_arm64
lipo -create -output .workflow/exe exe_amd64 exe_arm64
rm exe_amd64
rm exe_arm64
Expand Down
2 changes: 1 addition & 1 deletion .workflow/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ https://github.com/cage1016/alfred-paletter</string>
</dict>
</array>
<key>version</key>
<string>1.1.0</string>
<string>1.2.0</string>
<key>webaddress</key>
<string>https://github.com/cage1016/alfred-paletter</string>
</dict>
Expand Down

0 comments on commit 5dcee0d

Please sign in to comment.