diff options
| author | henry <zhanggm@sugon.com> | 2021-01-04 14:50:01 +0800 |
|---|---|---|
| committer | henry <zhanggm@sugon.com> | 2021-01-04 14:50:01 +0800 |
| commit | 97a94eddab407219faf6b5a5f809057cde331eaa (patch) | |
| tree | f0f2111f812daa43dca31218bfa62f3f53ee7bd4 /.github | |
| parent | 14ddd155082a455542a992220d6c61e658420c6b (diff) | |
| parent | 2ce86f308ea4836cf534e50dc1388932253b5cd5 (diff) | |
| download | seaweedfs-97a94eddab407219faf6b5a5f809057cde331eaa.tar.xz seaweedfs-97a94eddab407219faf6b5a5f809057cde331eaa.zip | |
Merge branch 'master' of https://github.com/fuyouyshengwu/seaweedfs
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/cleanup.yml | 22 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 12 |
2 files changed, 26 insertions, 8 deletions
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml new file mode 100644 index 000000000..d8719c36f --- /dev/null +++ b/.github/workflows/cleanup.yml @@ -0,0 +1,22 @@ +name: Cleanup + +on: + push: + branches: [ master ] + +jobs: + + build: + name: Build + runs-on: ubuntu-latest + + steps: + + - name: Delete old release assets + uses: mknejp/delete-release-assets@v1 + with: + token: ${{ github.token }} + tag: dev + fail-if-no-assets: false + assets: | + weed-* diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39108c30a..55457ba6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - goos: [linux, windows, darwin ] + goos: [linux, windows, darwin, freebsd ] goarch: [amd64, arm] exclude: - goarch: arm @@ -24,14 +24,10 @@ 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 + - name: Wait for the deletion + uses: jakejarvis/wait-action@master with: - token: ${{ github.token }} - tag: dev - fail-if-no-assets: false - assets: | - weed-* + time: '30s' - name: Set BUILD_TIME env run: echo BUILD_TIME=$(date -u +%Y-%m-%d-%H-%M) >> ${GITHUB_ENV} |
