This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch reduce_ci_usage
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit b624fd58e74ca45aca880472b865be2af0adc250
Author: HTHou <[email protected]>
AuthorDate: Thu May 30 09:51:33 2024 +0800

    Reduce CI usage by removing JDK 11
---
 .github/workflows/cluster-it-1c1d.yml | 5 ++---
 .github/workflows/unit-test.yml       | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/cluster-it-1c1d.yml 
b/.github/workflows/cluster-it-1c1d.yml
index dce53c567fa..41b2960832b 100644
--- a/.github/workflows/cluster-it-1c1d.yml
+++ b/.github/workflows/cluster-it-1c1d.yml
@@ -34,17 +34,16 @@ jobs:
       fail-fast: false
       max-parallel: 20
       matrix:
-        java: [11]
         os: [ ubuntu-latest, windows-latest ]
     runs-on: ${{ matrix.os }}
 
     steps:
       - uses: actions/checkout@v4
-      - name: Set up JDK ${{ matrix.java }}
+      - name: Set up JDK
         uses: actions/setup-java@v4
         with:
           distribution: liberica
-          java-version: ${{ matrix.java }}
+          java-version: 17
       - name: Cache Maven packages
         uses: actions/cache@v4
         with:
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index 896fc69b25a..98ff9dceeea 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -37,7 +37,7 @@ jobs:
       fail-fast: false
       max-parallel: 20
       matrix:
-        java: [ 8, 11, 17 ]
+        java: [ 8, 17 ]
         os: [ ubuntu-latest, windows-latest ]
         it_task: [ 'others', 'datanode' ]
         include:

Reply via email to