From 61c2c8efdf6838ab6b916d2aee446700ad233633 Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Fri, 13 Sep 2024 17:14:54 +0800 Subject: [PATCH] [chore](CI)Sonar build should use JDK 17 --- .github/workflows/sonarcloud.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 5ee8bdf24e95f9..e2eb4b14d43161 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -41,11 +41,11 @@ jobs: - 'fe/**' - 'gensrc/proto/**' - 'gensrc/thrift/**' - - name: Set up JDK 11 + - name: Set up JDK 17 if: ${{ steps.filter.outputs.fe_changes == 'true' }} uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 17 distribution: 'adopt' - name: Cache SonarCloud packages if: ${{ steps.filter.outputs.fe_changes == 'true' }}