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

HTHou pushed a commit to branch HTHou-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 3423c32a461bce2ce08474cc987149921654d0b4
Author: Haonan <[email protected]>
AuthorDate: Wed Jul 22 16:14:44 2026 +0800

    Fix sonar cannot analyse because it requires JDK 21
---
 .github/workflows/sonar-codecov.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/sonar-codecov.yml 
b/.github/workflows/sonar-codecov.yml
index 44e1901af7c..88f69e5938d 100644
--- a/.github/workflows/sonar-codecov.yml
+++ b/.github/workflows/sonar-codecov.yml
@@ -71,11 +71,11 @@ jobs:
     if: github.event_name == 'pull_request' && 
github.event.pull_request.head.repo.full_name == 'apache/iotdb' || 
github.event_name == 'push'
     steps:
       - uses: actions/checkout@v5
-      - name: Set up JDK 17
+      - name: Set up JDK 21
         uses: actions/setup-java@v5
         with:
           distribution: corretto
-          java-version: 17
+          java-version: 21
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       - name: Cache Maven packages

Reply via email to