From 4985754d7112f805bc9e01ca5117b3953758caaf Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Thu, 21 Mar 2024 14:55:01 +0000 Subject: [PATCH] Fix the Sonar plugin integration --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b93c824..0cf75129 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,10 +76,10 @@ jobs: fetch-depth: 0 - uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: sonar env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} SONAR_TOKEN: ${{secrets.SONAR_TOKEN}} - run: mvn -B verify --file pom.xml -Pcoverage javadoc:javadoc sonar:sonar -Dsonar.projectKey=smallrye_smallrye-jwt -Dsonar.login=$SONAR_TOKEN + run: mvn -B verify --file pom.xml -Pcoverage javadoc:javadoc sonar:sonar -Dsonar.projectKey=smallrye_smallrye-jwt -Dsonar.token=$SONAR_TOKEN