Skip to content

Commit 52f96f5

Browse files
authored
Fix JDK version workflow failures (#138)
- Solr: Update JDK to 21 (based on [their workflows][1]). [Workflow][2] no longer fails due to JDK (though it fails for cache misses). - Lucene: Update JDK to 21 (based on [their workflows][3]). [Workflow][6] no longer fails due to JDK version (though it fails for a different reason) - Spring AMQP: Updated JDK to 23 (based on the [workflow error msg][4]). [Workflow][5] now passes [1]: https://github.com/apache/solr/blob/main/.github/workflows/gradle-precommit.yml#L26 [2]: https://github.com/gradle/develocity-oss-projects/actions/runs/13461600968 [3]: https://github.com/apache/lucene/blob/main/.github/workflows/run-checks-all.yml#L32 [4]: https://github.com/gradle/develocity-oss-projects/actions/runs/13353503627/job/37293069525#step:6:647 [5]: https://github.com/gradle/develocity-oss-projects/actions/runs/13505119226 [6]: https://github.com/gradle/develocity-oss-projects/actions/runs/13505123645/job/37733557974
1 parent 66a4f99 commit 52f96f5

3 files changed

+6
-6
lines changed

.github/workflows/run-experiments-apache-lucene.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- experimentId: 3
2323
runs-on: ubuntu-latest
2424
steps:
25-
- name: Set up JDK 17
25+
- name: Set up JDK
2626
uses: actions/setup-java@v4
2727
with:
28-
java-version: 17
28+
java-version: 21
2929
distribution: "temurin"
3030
- name: Download latest version of the validation scripts
3131
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/download@actions-stable

.github/workflows/run-experiments-apache-solr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- experimentId: 3
2323
runs-on: ubuntu-latest
2424
steps:
25-
- name: Set up JDK 17
25+
- name: Set up JDK
2626
uses: actions/setup-java@v4
2727
with:
28-
java-version: 17
28+
java-version: 21
2929
distribution: "temurin"
3030
- name: Add git hook to temporarily disable caching for SpotlessTaskImpl tasks
3131
run: |

.github/workflows/run-experiments-spring-amqp.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- experimentId: 3
2323
runs-on: ubuntu-latest
2424
steps:
25-
- name: Set up JDK 17
25+
- name: Set up JDK
2626
uses: actions/setup-java@v4
2727
with:
28-
java-version: 17
28+
java-version: 23
2929
distribution: "temurin"
3030
- name: Download latest version of the validation scripts
3131
uses: gradle/develocity-build-validation-scripts/.github/actions/gradle/download@actions-stable

0 commit comments

Comments
 (0)