From dc89628bacf886980760ae71af803d5629f94f6d Mon Sep 17 00:00:00 2001 From: itsankit-google Date: Mon, 19 Feb 2024 11:33:03 +0000 Subject: [PATCH] use jdk17 for sonar report --- .github/workflows/build-sonar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-sonar.yml b/.github/workflows/build-sonar.yml index 7f769c90c799..01ca7bd43d31 100644 --- a/.github/workflows/build-sonar.yml +++ b/.github/workflows/build-sonar.yml @@ -74,7 +74,7 @@ jobs: - name: Sonar report env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64 + JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64 run: >- mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -fae -T 2 -B -V -Dmaven.repo.local=$HOME/.m2/repository11