Skip to content

Commit

Permalink
Fixes #91 - Update to Java 21 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Oct 13, 2023
1 parent 79724ec commit 864e3c4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/java:1": {
"version": "17",
"version": "21",
"installMaven": "true"
}
}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java 20
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up Java 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 20
java-version: 21
- name: Build with Maven
run: mvn -B --ntp package
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Set up Java
uses: actions/setup-java@v1
uses: actions/checkout@v3
- name: Set up Java 21
uses: actions/setup-java@v2
with:
java-version: 20
java-version: 21
- name: Build with Maven
run: mvn -B -DskipTests -ntp install
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<release>17</release>
<release>21</release>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 864e3c4

Please sign in to comment.