From ce9e606eb27861cb1a0f847525c8d68023ce9dfd Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 6 Sep 2021 23:11:59 -0700 Subject: [PATCH] fix waiting, binary name. --- .github/workflows/binaries_dev.yml | 13 +++---------- .github/workflows/binaries_release.yml | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/binaries_dev.yml b/.github/workflows/binaries_dev.yml index 87e50774e..c1a098ea7 100644 --- a/.github/workflows/binaries_dev.yml +++ b/.github/workflows/binaries_dev.yml @@ -7,7 +7,6 @@ on: jobs: cleanup: - name: Build runs-on: ubuntu-latest steps: @@ -23,7 +22,6 @@ jobs: build_dev: needs: cleanup - name: Build runs-on: ubuntu-latest strategy: matrix: @@ -44,15 +42,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Wait for the deletion - uses: jakejarvis/wait-action@master - with: - time: '60s' - - name: Set BUILD_TIME env run: echo BUILD_TIME=$(date -u +%Y%m%d-%H%M) >> ${GITHUB_ENV} - - name: Go Release Binaries + - name: Go Release Binaries Large Disk uses: wangyoucao577/go-release-action@v1.20 with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -65,10 +58,10 @@ jobs: ldflags: -extldflags -static -X github.com/chrislusf/seaweedfs/weed/util.COMMIT=${{github.sha}} # Where to run `go build .` project_path: weed - binary_name: weed-large-disk + binary_name: weed asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" - - name: Go Release Binaries + - name: Go Release Binaries Normal Volume Size uses: wangyoucao577/go-release-action@v1.20 with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/binaries_release.yml b/.github/workflows/binaries_release.yml index 9cbc56986..81970e520 100644 --- a/.github/workflows/binaries_release.yml +++ b/.github/workflows/binaries_release.yml @@ -33,7 +33,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - name: Go Release Binaries + - name: Go Release Binaries Normal Volume Size uses: wangyoucao577/go-release-action@v1.20 with: github_token: ${{ secrets.GITHUB_TOKEN }}