This is an automated email from the ASF dual-hosted git repository.
HTHou 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 dbdabbdbf57 Fix sonar cannot analyse because it requires JDK 21
(#18278)
dbdabbdbf57 is described below
commit dbdabbdbf57486eb2807231b09fb484d57ccd599
Author: Haonan <[email protected]>
AuthorDate: Wed Jul 22 16:34:39 2026 +0800
Fix sonar cannot analyse because it requires JDK 21 (#18278)
---
.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