From 44ba5c41684a06535715ac147ff33e94bce21321 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sat, 5 Dec 2020 20:14:51 -0500 Subject: [PATCH] GHA: Delete nightly tag before creating new release --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fc7feca33..3c4ce0ddc2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,6 +117,13 @@ jobs: run: echo 'SUBJECT=Nvim development (prerelease) build' >> $GITHUB_ENV - if: env.TAG_NAME != 'nightly' run: echo 'SUBJECT=Nvim release build' >> $GITHUB_ENV + - if: env.TAG_NAME == 'nightly' + uses: dev-drprasad/delete-tag-and-release@v0.1.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + delete_release: false + tag_name: nightly - uses: meeDamian/github-release@2.0 with: token: ${{ secrets.GITHUB_TOKEN }}