From 5dcee0dc61d5c07272c837b49c6339190cf8bf8c Mon Sep 17 00:00:00 2001 From: Kai-Chu Chung Date: Sun, 20 Nov 2022 13:59:06 +0800 Subject: [PATCH] set CGO_ENABLED=1 in release ci cd pipeline --- .github/workflows/release.yml | 4 ++-- .workflow/info.plist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f627c84..71fe848 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.workflow/info.plist b/.workflow/info.plist index 9957d60..be129ce 100755 --- a/.workflow/info.plist +++ b/.workflow/info.plist @@ -1723,7 +1723,7 @@ https://github.com/cage1016/alfred-paletter version - 1.1.0 + 1.2.0 webaddress https://github.com/cage1016/alfred-paletter