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
+2
View File
@@ -45,6 +45,7 @@ jobs:
distribution: ${{ env.JAVA_DIST }}
java-version: ${{ env.JAVA_VERSION }}
java-package: 'jdk'
check-latest: true
cache: ${{ env.JAVA_CACHE }}
- name: Download and extract JavaFX jmods from Gluon
#In the last step we move all jmods files a dir level up because jmods are placed inside a directory in the zip
@@ -246,6 +247,7 @@ jobs:
with:
distribution: ${{ env.JAVA_DIST }}
java-version: ${{ env.JAVA_VERSION }}
check-latest: true
cache: ${{ env.JAVA_CACHE }}
- name: Generate license for exe
run: >