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