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

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


The following commit(s) were added to refs/heads/master by this push:
     new f0b21e77304 Reduce CI usage by removing JDK 11 (#12613)
f0b21e77304 is described below

commit f0b21e773047c077ec8a268db5adf45e5a34f8b5
Author: Haonan <[email protected]>
AuthorDate: Thu May 30 10:11:13 2024 +0800

    Reduce CI usage by removing JDK 11 (#12613)
---
 .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