mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 21:25:04 -07:00
GHA: Delete nightly tag before creating new release
This commit is contained in:
parent
18360290d0
commit
44ba5c4168
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -117,6 +117,13 @@ jobs:
|
|||||||
run: echo 'SUBJECT=Nvim development (prerelease) build' >> $GITHUB_ENV
|
run: echo 'SUBJECT=Nvim development (prerelease) build' >> $GITHUB_ENV
|
||||||
- if: env.TAG_NAME != 'nightly'
|
- if: env.TAG_NAME != 'nightly'
|
||||||
run: echo 'SUBJECT=Nvim release build' >> $GITHUB_ENV
|
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
|
- uses: meeDamian/github-release@2.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user