Skip to content

Commit

Permalink
Update CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrePTJ committed Jun 21, 2024
1 parent d1a914b commit ba13d5b
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,34 @@ jobs:
cmake --build --preset release-win --target package
# Create release if on built on a tag
- name: Create/Update release
- if: startsWith(github.ref, 'refs/tags/')
name: Create/Update release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
draft: true
artifacts: 'cmake-build-release-win/Kemai-*.msi'

# Create continuous release on some branches
- if: github.ref == 'refs/heads/develop'
name: Create/Update prerelease
uses: ncipollo/release-action@v1
with:
name: 'last develop'
allowUpdates: true
updateOnlyUnreleased: true
prerelease: true
artifacts: 'cmake-build-release-win/Kemai-*.msi'
- if: github.ref == 'refs/heads/feature/98-break-ui'
name: Create/Update prerelease
uses: ncipollo/release-action@v1
with:
name: 'UI break'
allowUpdates: true
updateOnlyUnreleased: true
prerelease: true
artifacts: 'cmake-build-release-win/Kemai-*.msi'

MacOSJob:
name: MacOS
runs-on: macos-latest
Expand Down Expand Up @@ -113,3 +134,23 @@ jobs:
allowUpdates: true
draft: true
artifacts: 'dist/Kemai-*.dmg'

# Create continuous release on some branches
- if: github.ref == 'refs/heads/develop'
name: Create/Update prerelease
uses: ncipollo/release-action@v1
with:
name: 'last develop'
allowUpdates: true
updateOnlyUnreleased: true
prerelease: true
artifacts: 'dist/Kemai-*.dmg'
- if: github.ref == 'refs/heads/feature/98-break-ui'
name: Create/Update prerelease
uses: ncipollo/release-action@v1
with:
name: 'UI break'
allowUpdates: true
updateOnlyUnreleased: true
prerelease: true
artifacts: 'dist/Kemai-*.dmg'

0 comments on commit ba13d5b

Please sign in to comment.