Skip to content

Commit 6098f51

Browse files
committed
dont rely on JDK patch level as it may break the build
1 parent 8e81748 commit 6098f51

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/buildandtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/setup-java@v5
2828
with:
2929
distribution: "sapmachine"
30-
java-version-file: ".java-version"
30+
java-version-file: "21"
3131
cache: "gradle"
3232
- name: Validate Gradle wrapper
3333
uses: gradle/actions/wrapper-validation@v5

.github/workflows/code-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/setup-java@v5
1717
with:
1818
distribution: "sapmachine"
19-
java-version-file: ".java-version"
19+
java-version-file: "21"
2020
cache: "gradle"
2121
- name: Validate Gradle wrapper
2222
uses: gradle/actions/wrapper-validation@v5

.github/workflows/dependency-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-java@v5
2727
with:
2828
distribution: "sapmachine"
29-
java-version-file: ".java-version"
29+
java-version-file: "21"
3030
cache: "gradle"
3131
- name: Validate Gradle wrapper
3232
uses: gradle/actions/wrapper-validation@v5

0 commit comments

Comments
 (0)