Skip to content

Commit

Permalink
feat: Bump Java from 11 to 17 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenneg authored Jul 3, 2023
1 parent ab60ae8 commit eb65d59
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
java-version: 17

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
java-version: 17
- name: Build with Maven
run: mvn package
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: adopt
server-id: jboss.staging
server-username: MAVEN_USERNAME
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<properties>
<compiler-plugin.version>3.11.0</compiler-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<java.release>11</java.release>
<java.release>17</java.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<quarkus.version>2.16.4.Final</quarkus.version>
<surefire-plugin.version>3.1.2</surefire-plugin.version>
Expand Down

0 comments on commit eb65d59

Please sign in to comment.