Browse Source
chore: disable http2 in go-release-action
pull/2440/head
Jay Zhang
3 years ago
No known key found for this signature in database
GPG Key ID: BCF2998FDCF65E9
1 changed files with
3 additions and
3 deletions
-
.github/workflows/binaries_dev.yml
|
@ -38,8 +38,8 @@ jobs: |
|
|
- name: Set BUILD_TIME env |
|
|
- name: Set BUILD_TIME env |
|
|
run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_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 |
|
|
- name: Go Release Binaries Large Disk |
|
|
uses: wangyoucao577/go-release-action@bugfix/upload-fail |
|
|
uses: wangyoucao577/go-release-action@bugfix/upload-fail |
|
@ -49,7 +49,7 @@ jobs: |
|
|
goarch: ${{ matrix.goarch }} |
|
|
goarch: ${{ matrix.goarch }} |
|
|
release_tag: dev |
|
|
release_tag: dev |
|
|
overwrite: true |
|
|
overwrite: true |
|
|
pre_command: export CGO_ENABLED=0 |
|
|
|
|
|
|
|
|
pre_command: export CGO_ENABLED=0 && GODEBUG=http2client=0 |
|
|
build_flags: -tags 5BytesOffset # optional, default is |
|
|
build_flags: -tags 5BytesOffset # optional, default is |
|
|
ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} |
|
|
ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} |
|
|
# Where to run `go build .` |
|
|
# Where to run `go build .` |
|
|