Skip to content

Commit

Permalink
pipeline: c'mon, update the nightly correctly!
Browse files Browse the repository at this point in the history
  • Loading branch information
kirides committed Jan 5, 2024
1 parent 410fb5d commit 5769ceb
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,26 +104,19 @@ jobs:
run: |
(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
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5
with:
name: Nightly
tag: nightly
generateReleaseNotes: true
allowUpdates: true
prerelease: true
draft: false
omitDraftDuringUpdate: true
omitDraftDuringUpdate: false
removeArtifacts: true
artifacts: "${{env.RELEASE_DIR}}.zip,${{env.RELEASE_DIR}}.zip.sha256"
tag: nightly
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5769ceb

Please sign in to comment.