diff options
| author | limd <limd@sugon.com> | 2021-11-25 16:07:14 +0800 |
|---|---|---|
| committer | limd <limd@sugon.com> | 2021-11-25 16:07:14 +0800 |
| commit | ec03f22cc31295159354bc3762af4302eaf05357 (patch) | |
| tree | 095de151262566b02f3d14020cab3da981e2d226 /.github/workflows | |
| parent | 220797bd71c18e0f295fa186bf5a0beb85b99659 (diff) | |
| parent | aa1ef0298445764d9214066e98a26a2be2354776 (diff) | |
| download | seaweedfs-ec03f22cc31295159354bc3762af4302eaf05357.tar.xz seaweedfs-ec03f22cc31295159354bc3762af4302eaf05357.zip | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/binaries_dev.yml | 21 | ||||
| -rw-r--r-- | .github/workflows/binaries_release0.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/binaries_release1.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/binaries_release2.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/binaries_release3.yml | 8 |
5 files changed, 24 insertions, 29 deletions
diff --git a/.github/workflows/binaries_dev.yml b/.github/workflows/binaries_dev.yml index 49bd27411..5b34b5f4b 100644 --- a/.github/workflows/binaries_dev.yml +++ b/.github/workflows/binaries_dev.yml @@ -3,8 +3,6 @@ name: "go: build dev binaries" on: push: branches: [ master ] - pull_request: - branches: [ master ] jobs: @@ -38,18 +36,15 @@ 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: Go Release Binaries Large Disk - uses: wangyoucao577/go-release-action@bugfix/upload-fail + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=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 .` @@ -58,14 +53,14 @@ jobs: asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" - name: Go Release Binaries Normal Volume Size - uses: wangyoucao577/go-release-action@bugfix/upload-fail + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=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 @@ -89,14 +84,14 @@ jobs: run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_ENV} - name: Go Release Binaries Large Disk - uses: wangyoucao577/go-release-action@bugfix/upload-fail + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=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 .` @@ -105,14 +100,14 @@ jobs: asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" - name: Go Release Binaries Normal Volume Size - uses: wangyoucao577/go-release-action@bugfix/upload-fail + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} release_tag: dev overwrite: true - pre_command: export CGO_ENABLED=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 diff --git a/.github/workflows/binaries_release0.yml b/.github/workflows/binaries_release0.yml index 622fe5dd6..14302dac0 100644 --- a/.github/workflows/binaries_release0.yml +++ b/.github/workflows/binaries_release0.yml @@ -25,13 +25,13 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Go Release Binaries Normal Volume Size - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` @@ -39,13 +39,13 @@ jobs: binary_name: weed asset_name: "${{ matrix.goos }}_${{ matrix.goarch }}" - name: Go Release Large Disk Binaries - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` diff --git a/.github/workflows/binaries_release1.yml b/.github/workflows/binaries_release1.yml index a0cc2c74c..326a551cb 100644 --- a/.github/workflows/binaries_release1.yml +++ b/.github/workflows/binaries_release1.yml @@ -25,13 +25,13 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Go Release Binaries Normal Volume Size - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` @@ -39,13 +39,13 @@ jobs: binary_name: weed asset_name: "${{ matrix.goos }}_${{ matrix.goarch }}" - name: Go Release Large Disk Binaries - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` diff --git a/.github/workflows/binaries_release2.yml b/.github/workflows/binaries_release2.yml index 95cde0fdd..bc3b7b4fa 100644 --- a/.github/workflows/binaries_release2.yml +++ b/.github/workflows/binaries_release2.yml @@ -25,13 +25,13 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Go Release Binaries Normal Volume Size - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` @@ -39,13 +39,13 @@ jobs: binary_name: weed asset_name: "${{ matrix.goos }}_${{ matrix.goarch }}" - name: Go Release Large Disk Binaries - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` diff --git a/.github/workflows/binaries_release3.yml b/.github/workflows/binaries_release3.yml index 0bbfa3953..4baae2c9f 100644 --- a/.github/workflows/binaries_release3.yml +++ b/.github/workflows/binaries_release3.yml @@ -25,13 +25,13 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Go Release Binaries Normal Volume Size - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` @@ -39,13 +39,13 @@ jobs: binary_name: weed asset_name: "${{ matrix.goos }}_${{ matrix.goarch }}" - name: Go Release Large Disk Binaries - uses: wangyoucao577/go-release-action@v1.20 + uses: wangyoucao577/go-release-action@v1.22 with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} overwrite: true - pre_command: export CGO_ENABLED=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 .` |
