From 350fa2051844a87041239d857238511e5a27f4c8 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 25 Oct 2024 10:29:16 +0200 Subject: [PATCH] Use Java 21. --- .github/workflows/build.yml | 8 ++++---- .github/workflows/nightly.yml | 4 ++-- .github/workflows/post-pr.yml | 4 ++-- .github/workflows/quality.yml | 12 ++++++------ .github/workflows/tests.yml | 8 ++++---- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d54a64ed34..4c2137f54a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,11 +28,11 @@ jobs: with: # https://github.com/actions/checkout/issues/881 ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: @@ -57,11 +57,11 @@ jobs: with: # https://github.com/actions/checkout/issues/881 ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 67a165a107..ef73114455 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -20,11 +20,11 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.8 - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/post-pr.yml b/.github/workflows/post-pr.yml index 023945c4ee..c05e63a2db 100644 --- a/.github/workflows/post-pr.yml +++ b/.github/workflows/post-pr.yml @@ -44,11 +44,11 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.8 - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index c943cff5b6..7af7e55786 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -25,11 +25,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: @@ -48,11 +48,11 @@ jobs: cancel-in-progress: true steps: - uses: actions/checkout@v4 - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: @@ -102,11 +102,11 @@ jobs: cancel-in-progress: true steps: - uses: actions/checkout@v4 - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ffe703c606..9078ee5698 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,11 +29,11 @@ jobs: with: lfs: true fetch-depth: 0 - - name: Use JDK 17 + - name: Use JDK 21 uses: actions/setup-java@v4 with: distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' + java-version: '21' - name: Configure gradle uses: gradle/actions/setup-gradle@v3 with: @@ -139,11 +139,11 @@ jobs: # cancel-in-progress: true # steps: # - uses: actions/checkout@v4 -# - name: Use JDK 17 +# - name: Use JDK 21 # uses: actions/setup-java@v4 # with: # distribution: 'temurin' # See 'Supported distributions' for available options -# java-version: '17' +# java-version: '21' # - name: Configure gradle # uses: gradle/actions/setup-gradle@v3 # with: