Skip to content

Commit

Permalink
ci: only release when tags doesnt have alpha/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenvukhang committed Feb 1, 2023
1 parent 159318a commit 0984adb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: contains(github.refname, 'alpha') || contains(github.refname, 'beta')
files: ${{ env.ASSET }}
generate_release_notes: true

Expand Down Expand Up @@ -125,6 +126,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: contains(github.refname, 'alpha') || contains(github.refname, 'beta')
files: |
CanvasSyncInstaller-${{ matrix.os }}.exe
generate_release_notes: true

0 comments on commit 0984adb

Please sign in to comment.