diff --git a/.github/workflows/github-nightly.yaml b/.github/workflows/github-nightly.yaml index a57c2b1c3af..8613f1a15ec 100644 --- a/.github/workflows/github-nightly.yaml +++ b/.github/workflows/github-nightly.yaml @@ -23,6 +23,15 @@ jobs: uses: actions/checkout@v2 with: ref: 'pluto-cmake' + - name: Remove tag + uses: actions/github-script@v5 + with: + script: | + github.git.deleteRef({ + owner: context.repo.owner, + repo: context.repo.repo, + ref: "tags/nightly" + }) - name: Create tag uses: actions/github-script@v5 with: