From 54487f38d0b032c67c7897af3e2106bb2de95dd0 Mon Sep 17 00:00:00 2001 From: Michele Azzolari Date: Sun, 3 Dec 2023 06:30:20 +0100 Subject: [PATCH] CI: disable CGO_ENABLED on cross build (release) --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0762986..425836b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,8 @@ jobs: with: fetch-depth: 0 - name: Cross build + env: + CGO_ENABLED: 0 run: | GOOS=linux GOARCH=386 make -e buildx GOOS=linux GOARCH=amd64 make -e buildx