GHA: Delete nightly tag before creating new release

This commit is contained in:
James McCoy 2020-12-05 20:14:51 -05:00
parent 18360290d0
commit 44ba5c4168
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -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 }}