From 67f5531019b17474b238827689c9b09d4e5e5790 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 18 Feb 2021 01:32:44 -0500 Subject: [PATCH] ci: Fixes an incorrect action in the nightly build workflow (#411) --- .github/workflows/nightly.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 7109c082..eda6c737 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,9 +16,17 @@ jobs: - name: Create artifacts directory run: mkdir artifacts - - name: Create GitHub release + - name: Delete tag and release + uses: dev-drprasad/delete-tag-and-release@v0.1.3 + with: + delete_release: true + tag_name: nightly + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Create nightly GitHub release id: release - uses: GongT/actions-recreate-release@v1 + uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: