mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-17 05:00:26 +00:00
ignore the error when deleting nightly tags (#1228)
Signed-off-by: Keming <kemingy94@gmail.com>
This commit is contained in:
parent
5680befe09
commit
4dbbb5e674
1 changed files with 2 additions and 2 deletions
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
run: |
|
||||
gh release delete ${{ github.event.inputs.tag_name }} --yes --cleanup-tag || true
|
||||
git tag -d ${{ github.event.inputs.tag_name }}
|
||||
git tag -d ${{ github.event.inputs.tag_name }} || true
|
||||
gh release create ${{ github.event.inputs.tag_name }} --title ${{ github.event.inputs.tag_name }} --generate-notes --prerelease
|
||||
|
||||
- if: ${{ github.event_name == 'schedule' }}
|
||||
|
|
@ -32,6 +32,6 @@ jobs:
|
|||
gh release create nightly --title nightly --generate-notes --prerelease
|
||||
elif [[ $(git diff nightly --name-only -B -M -C) ]]; then
|
||||
gh release delete nightly --yes --cleanup-tag || true
|
||||
git tag -d nightly
|
||||
git tag -d nightly || true
|
||||
gh release create nightly --title nightly --generate-notes --prerelease
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue