Skip to content

Commit 0b95b1d

Browse files
committed
Always enable CGO in release build workflow
1 parent 2aa8bff commit 0b95b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: |
6767
go get -v -t -d ./...
6868
mkdir bin
69-
GOARCH=${arch} go build -v -ldflags "-X github.com/picoCTF/cmgr/cmgr.version=`git describe --tags`" -o bin ./...
69+
CGO_ENABLED=1 GOARCH=${arch} go build -v -ldflags "-X github.com/picoCTF/cmgr/cmgr.version=`git describe --tags`" -o bin ./...
7070
cp LICENSE bin/LICENSE
7171
cat NOTICE NOTICE.release > bin/NOTICE
7272
cd bin && tar czvf cmgr.tar.gz cmgr cmgrd LICENSE NOTICE

0 commit comments

Comments
 (0)