Use latest version of Java to avoid using an out of date version when building the release

See https://github.com/actions/setup-java/tree/main#check-latest for further information
This commit is contained in:
Julian Raufelder
2023-08-11 15:52:42 +02:00
parent 34c0f1d13e
commit ef4738f920
4 changed files with 5 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ jobs:
with:
distribution: 'zulu'
java-version: ${{ env.JAVA_VERSION }}
check-latest: true
cache: 'maven'
- name: Run maven
run: mvn -B clean package -Pdependency-check,linux -DskipTests