Skip to content

Commit

Permalink
pipeline: we need to delete the old release, or else source code will…
Browse files Browse the repository at this point in the history
… be outdated...
  • Loading branch information
kirides committed Jan 5, 2024
1 parent 5769ceb commit 4f09fe4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,15 @@ jobs:
(Get-FileHash "${{env.RELEASE_DIR}}.zip" -Algorithm SHA256).hash | Out-File -FilePath "${{env.RELEASE_DIR}}.zip.sha256"
type "${{env.RELEASE_DIR}}.zip.sha256"
- name: Delete old nightly
if: github.ref_name == 'master'
# v1.0.1
uses: dev-drprasad/delete-tag-and-release@8cd619d00037e4aeb781909c9a6b03940507d0da
with:
delete_release: true
tag_name: nightly
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Create new nightly
if: github.ref_name == 'master'
# v1.13.0
Expand Down

0 comments on commit 4f09fe4

Please sign in to comment.