Skip to content

Commit

Permalink
[chore](CI)Sonar build should use JDK 17 (#40807)
Browse files Browse the repository at this point in the history
workflow log:

```
Python 3.10.12
Check JAVA_HOME version
JAVA_HOME=/opt/hostedtoolcache/Java_Adopt_jdk/11.0.24-8/x64. It does not point to JDK-17.
The 'JDK_17' environment variable is not set.
ERROR: The JAVA version is [11](https://github.com/CalvinKirs/incubator-doris/actions/runs/10828165037/job/30042908344#step:10:12), it must be JDK-17.
Error: Process completed with exit code 1.

```
  • Loading branch information
CalvinKirs authored Sep 13, 2024
1 parent 55d6d64 commit 3cefe48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 3cefe48

Please sign in to comment.