From 4a8f759a484e78b921fa659d08f1bbd62f79d2eb Mon Sep 17 00:00:00 2001 From: YE Feng Date: Tue, 31 Dec 2024 10:17:10 +0800 Subject: [PATCH] Disable cgo in release pipeline --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63d7e68..04f3a6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,8 @@ jobs: go-version: 1.23.4 - run: | - GOARCH=amd64 go build -o hud-linux-x86_64 main.go - GOARCH=arm64 go build -o hud-linux-aarch64 main.go + CGO_ENABLED=0 GOARCH=amd64 go build -o hud-linux-x86_64 main.go + CGO_ENABLED=0 GOARCH=arm64 go build -o hud-linux-aarch64 main.go - uses: softprops/action-gh-release@v1 with: