aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Zhang <wangyoucao577@gmail.com>2021-11-11 19:59:12 +0800
committerJay Zhang <wangyoucao577@gmail.com>2021-11-11 19:59:12 +0800
commit12d9108bb4047e52defdaf545de211cda81e0e10 (patch)
tree039c2f3da292ce459eaca73e423081d6c9594a94
parentcef2718ede4db2f749d0a3029f378b1355b07830 (diff)
downloadseaweedfs-12d9108bb4047e52defdaf545de211cda81e0e10.tar.xz
seaweedfs-12d9108bb4047e52defdaf545de211cda81e0e10.zip
chore: disable http2 in go-release-action
-rw-r--r--.github/workflows/binaries_dev.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/binaries_dev.yml b/.github/workflows/binaries_dev.yml
index 49bd27411..99f5d3e65 100644
--- a/.github/workflows/binaries_dev.yml
+++ b/.github/workflows/binaries_dev.yml
@@ -38,8 +38,8 @@ jobs:
- name: Set BUILD_TIME env
run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_ENV}
- - name: disable http2 env
- run: export GODEBUG=http2client=0
+ #- name: disable http2 env
+ # run: export GODEBUG=http2client=0
- name: Go Release Binaries Large Disk
uses: wangyoucao577/go-release-action@bugfix/upload-fail
@@ -49,7 +49,7 @@ jobs:
goarch: ${{ matrix.goarch }}
release_tag: dev
overwrite: true
- pre_command: export CGO_ENABLED=0
+ pre_command: export CGO_ENABLED=0 && 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 .`