Run JDK 21 workflows with 21.0.4. (#17458)

* Run JDK 21 workflows with 21.0.4.

To work around #17429, run our JDK 21 workflows with
version 21.0.4. It does not appear to have this problem.

* Undo changes in standard-its.yml

* Add comments.

---------

Co-authored-by: Zoltan Haindrich <kirk@rxd.hu>
This commit is contained in:
Gian Merlino 2024-11-07 10:53:52 -08:00 committed by GitHub
parent 32394e55f9
commit d8162163c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -41,7 +41,8 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ '8', '11', '17', '21' ]
# Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429
java: [ '8', '11', '17', '21.0.4' ]
runs-on: ubuntu-latest
steps:
- name: checkout branch

View File

@ -79,7 +79,8 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: [ '8', '11', '17', '21' ]
# Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429
jdk: [ '8', '11', '17', '21.0.4' ]
runs-on: ubuntu-latest
steps:
- name: Checkout branch
@ -160,7 +161,8 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: [ 11, 17, 21 ]
# Use JDK 21.0.4 to work around https://github.com/apache/druid/issues/17429
jdk: [ '11', '17', '21.0.4' ]
name: "unit tests (jdk${{ matrix.jdk }}, sql-compat=true)"
uses: ./.github/workflows/unit-tests.yml
needs: unit-tests