From b6d4272e585d5804f79a4f3a33b169c0362ab31c Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Sat, 17 Jul 2021 10:48:19 +0800 Subject: [PATCH] Chore: disable nightly release --- .github/workflows/release.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dd4d58..c74e331 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,6 @@ name: Publish Go Releases on: push: - branches: - - 'main' tags: - '*' paths-ignore: @@ -29,19 +27,6 @@ jobs: - name: Build run: make -j releases - - name: Upload Releases (nightly) - uses: softprops/action-gh-release@v1 - if: github.ref == 'refs/heads/main' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - files: build/* - draft: false - prerelease: true - name: Nightly Build - tag_name: nightly - body: Automatically Released by Actions. - - name: Upload Releases uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')