Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Nov 11, 2024
1 parent ef9da45 commit d6df430
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ jobs:
if: startsWith(matrix.os, 'windows')

- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
- name: Set up JDK 21
uses: graalvm/setup-graalvm@v1
with:
distribution: temurin
java-version: 17
distribution: 'graalvm'
java-version: '21'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'

- name: Build with Maven
run: mvn -B -U clean install -Dno-format

- name: Build with Maven (Native)
run: mvn -B install -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip -Dquarkus.native.native-image-xmx=13g
run: mvn -B verify -Dnative -Dnative.surefire.skip -Dquarkus.native.native-image-xmx=13g
if: ${{ startsWith(matrix.os, 'windows') == false}}

0 comments on commit d6df430

Please sign in to comment.