From 4d388b97826eae62874cbde013d30886a23689e1 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 11 Nov 2021 18:37:38 -0800 Subject: [PATCH] Update binaries_dev.yml --- .github/workflows/binaries_dev.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binaries_dev.yml b/.github/workflows/binaries_dev.yml index 74f09f617..2fa4cbfee 100644 --- a/.github/workflows/binaries_dev.yml +++ b/.github/workflows/binaries_dev.yml @@ -44,7 +44,7 @@ jobs: goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=0 && 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/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` @@ -60,7 +60,7 @@ jobs: goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=0 && GODEBUG=http2client=0 + pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0 ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` project_path: weed @@ -91,7 +91,7 @@ jobs: goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=0 && 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/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` @@ -107,7 +107,7 @@ jobs: goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=0 && GODEBUG=http2client=0 + pre_command: export CGO_ENABLED=0 && export GODEBUG=http2client=0 ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` project_path: weed