mirror of
https://github.com/Z3Prover/z3
synced 2026-01-19 08:43:18 +00:00
Fix nightly release deployment by explicitly deleting tag
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
b8ef87347b
commit
53fc11bada
1 changed files with 5 additions and 2 deletions
7
.github/workflows/nightly.yml
vendored
7
.github/workflows/nightly.yml
vendored
|
|
@ -573,12 +573,15 @@ jobs:
|
|||
- name: Display structure of downloaded files
|
||||
run: ls -R tmp
|
||||
|
||||
- name: Delete existing Nightly release
|
||||
- name: Delete existing Nightly release and tag
|
||||
continue-on-error: true
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
gh release delete Nightly --yes --cleanup-tag || true
|
||||
# Delete the release first (this also deletes assets)
|
||||
gh release delete Nightly --yes || echo "No release to delete"
|
||||
# Delete the tag explicitly
|
||||
git push origin :refs/tags/Nightly || echo "No tag to delete"
|
||||
|
||||
- name: Create Nightly release
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue