Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
purofle committed Dec 30, 2023
1 parent 65fa957 commit e9ced0e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
fail-fast: true
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
include:
- os: windows-latest
gradle: gradlew.bat

runs-on: ${{ matrix.os }}
name: "${{ matrix.os }} build"
Expand All @@ -30,10 +27,12 @@ jobs:
distribution: 'zulu'
cache: gradle

- name: Build with Gradle(Windows)
if: matrix.platform == 'windows-latest'
run: ./gradlew.bat packageDistributionForCurrentOS
- name: Build with Gradle
- if: ${{ matrix.gradle }}
run: ./gradlew.bat packageReleaseMsi
- run: ./gradlew packageRelease
if: matrix.platform != 'windows-latest'
run: ./gradlew packageDistributionForCurrentOS

- name: Upload artifact
uses: actions/[email protected]
Expand Down

0 comments on commit e9ced0e

Please sign in to comment.