Skip to content

Commit

Permalink
Added nightly release-tag to nightly workflow
Browse files Browse the repository at this point in the history
Used for winget publising. Also changed release to not be pre-release
  • Loading branch information
maforget authored Sep 23, 2024
1 parent 27ec551 commit 208eb56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
artifacts: "ComicRackCE_nightly.zip,ComicRackCESetup_nightly.exe"
tag: "nightly"
commit: ${{ github.ref_name }}
prerelease: true
prerelease: false
allowUpdates: true
updateOnlyUnreleased: true
updateOnlyUnreleased: false
removeArtifacts: true

publish:
Expand All @@ -80,6 +80,7 @@ jobs:
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: maforget.ComicRackCE.Nightly
release-tag: nightly
version: nightly-${{ steps.vars.outputs.sha_short }} # Use the short 7-digit commit SHA for the version
max-versions-to-keep: 5 # keep only latest 5 versions (recommended to reduce clutter since Nightly)
token: ${{ secrets.WINGET_TOKEN }}
Expand Down

0 comments on commit 208eb56

Please sign in to comment.