Skip to content

Commit

Permalink
chore(workflow): remove existing nightly before publishing new
Browse files Browse the repository at this point in the history
  • Loading branch information
QaidVoid committed Oct 28, 2024
1 parent 39e9c1b commit e1171af
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ permissions:
contents: write

jobs:
remove-nightly-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Remove existing nightly tag
run: |
git tag -d nightly || true
git push origin :refs/tags/nightly || true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-nightly:
name: Publish nightly binaries
runs-on: ${{ matrix.build.os }}
Expand Down

0 comments on commit e1171af

Please sign in to comment.