mirror of
https://github.com/cryptomator/cryptomator.git
synced 2025-02-23 12:03:24 +00:00
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:
parent
34c0f1d13e
commit
ef4738f920
1
.github/workflows/appimage.yml
vendored
1
.github/workflows/appimage.yml
vendored
@ -30,6 +30,7 @@ jobs:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
java-package: 'jdk+fx'
|
||||
check-latest: true
|
||||
cache: 'maven'
|
||||
- name: Ensure major jfx version in pom equals in jdk
|
||||
shell: pwsh
|
||||
|
1
.github/workflows/debian.yml
vendored
1
.github/workflows/debian.yml
vendored
@ -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
|
||||
|
1
.github/workflows/mac-dmg.yml
vendored
1
.github/workflows/mac-dmg.yml
vendored
@ -45,6 +45,7 @@ jobs:
|
||||
java-version: ${{ env.JAVA_VERSION }}
|
||||
java-package: 'jdk+fx'
|
||||
architecture: ${{ matrix.architecture }}
|
||||
check-latest: true
|
||||
cache: 'maven'
|
||||
- name: Ensure major jfx version in pom equals in jdk
|
||||
if: ${{ !contains(matrix.os, 'self-hosted') }}
|
||||
|
2
.github/workflows/win-exe.yml
vendored
2
.github/workflows/win-exe.yml
vendored
@ -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: >
|
||||
|
Loading…
x
Reference in New Issue
Block a user