Skip to content

Commit

Permalink
update to quarkus 3.7 and java 17 (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: Melloware <[email protected]>
  • Loading branch information
ggrebert and melloware authored Feb 6, 2024
1 parent d30a5b7 commit 3acc6cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,29 @@ defaults:

jobs:
build:
name: Build on ${{ matrix.os }}
name: Build on ${{ matrix.os }} - ${{ matrix.java }}
strategy:
fail-fast: false
matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [ubuntu-latest]
java: ['17', '21']
runs-on: ${{ matrix.os }}
steps:
- name: Prepare git
run: git config --global core.autocrlf false
if: startsWith(matrix.os, 'windows')

- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK ${{matrix.java}}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: ${{matrix.java}}
cache: 'maven'

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

- name: Build with Maven (Native)
run: mvn -B install -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip
run: mvn -B install -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
</scm>
<properties>
<compiler-plugin.version>3.12.1</compiler-plugin.version>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.version>3.2.9.Final</quarkus.version>
<quarkus.version>3.7.1</quarkus.version>
</properties>
<dependencyManagement>
<dependencies>
Expand Down

0 comments on commit 3acc6cf

Please sign in to comment.