From a752f6220e2da85fdad5553c35d3023ce098ac83 Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 15 Sep 2022 22:13:04 -0700 Subject: [PATCH] Revert "Temporarily enable cgo" This reverts commit f7e4359b597c9acdb0478c05c6f6ae6fbb56836b. --- .github/workflows/binaries_release2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/binaries_release2.yml b/.github/workflows/binaries_release2.yml index eb41bfaca..8f1f29b82 100644 --- a/.github/workflows/binaries_release2.yml +++ b/.github/workflows/binaries_release2.yml @@ -36,7 +36,7 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=1 && export GODEBUG=http2client=0 + pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0 # build_flags: -tags 5BytesOffset # optional, default is ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` @@ -50,7 +50,7 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=1 && export GODEBUG=http2client=0 + pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0 build_flags: -tags 5BytesOffset # optional, default is ldflags: -extldflags -static -X github.com/seaweedfs/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .`