diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2020-12-17 21:57:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-17 21:57:41 -0800 |
| commit | 8e3b798ea018b5944e02b9b8ecf55c9f1ac6498f (patch) | |
| tree | 489851dd84c8d64f7edf0cd7d3fcb333ae6c1771 | |
| parent | 738c4fd20363a329541d5b7f85d52e102c57e989 (diff) | |
| download | seaweedfs-8e3b798ea018b5944e02b9b8ecf55c9f1ac6498f.tar.xz seaweedfs-8e3b798ea018b5944e02b9b8ecf55c9f1ac6498f.zip | |
Update release.yml
| -rw-r--r-- | .github/workflows/release.yml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 521418e2a..3daaf3216 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,8 +14,20 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 + - name: Delete old release assets + uses: mknejp/delete-release-assets@v1 + with: + token: ${{ github.token }} + tag: dev + assets: | + weed-large-disk-* + weed-* + + - name: Set BUILD_TIME env + run: echo BUILD_TIME=$(date -u +%Y%m%d) >> ${GITHUB_ENV} + - name: Go Release Binaries - uses: wangyoucao577/go-release-action@v1.10 + uses: wangyoucao577/go-release-action@feature/asset-name with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: linux # default is @@ -27,6 +39,8 @@ jobs: # Where to run `go build .` project_path: weed binary_name: weed-large-disk + asset_name: "weed-large-disk-${{ env.BUILD_TIME }}-${{ matrix.goos }}-${{ matrix.goarch }}" + - name: Go Release Binaries uses: wangyoucao577/go-release-action@v1.10 with: |
