diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bbaaced..7f82580 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,6 +49,7 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Build with Maven run: mvn -B -C verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar "-Dsonar.projectKey=nhenneaux_resilient-httpclient" + if: ${{ matrix.java }} == 21 $$ ${{ matrix.os }} == "ubuntu-latest" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}