Github to run with Java 17 as well

This commit is contained in:
Philip Helger
2026-03-16 21:23:50 +01:00
parent 8f484dfc2c
commit 8722399455

View File

@@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-java@v3 # the log states the default ~/.m2/toolchains.xml is being created pointing to the JDK - uses: actions/setup-java@v3 # the log states the default ~/.m2/toolchains.xml is being created pointing to the JDK
with: with:
distribution: 'adopt' # for latest JDKs use temurin https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/ distribution: 'adopt' # for latest JDKs use temurin https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/
java-version: '11' java-version: '17'
cache: 'maven' #cache/restore any dependencies to improve the workflow execution time cache: 'maven' #cache/restore any dependencies to improve the workflow execution time
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml