Skip to content

Commit 27d4df3

Browse files
committed
1 parent 522009b commit 27d4df3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
1616
java: [ '17', '21', '25' ]
1717
include:
18-
# lengthy build steps should only be performed on linux with Java 17 (Sonarcloud analysis, deployment)
18+
# lengthy build steps should only be performed on linux with Java 21 (Sonarcloud analysis, deployment)
1919
- os: ubuntu-latest
20-
java: '17'
20+
java: '21'
2121
isMainBuildEnv: true
2222
fail-fast: false
2323

@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
if [ "${{ matrix.isMainBuildEnv }}" = "true" ]; then
3232
echo "SONAR_TOKEN=${{ secrets.SONAR_TOKEN }}" >> $GITHUB_ENV
33-
echo "MVN_ADDITIONAL_OPTS=org.sonarsource.scanner.maven:sonar-maven-plugin:5.2.0.4988:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY }} -Dsonar.organization=${{ vars.SONAR_ORGANIZATION }} -Pcode-coverage" >> $GITHUB_ENV
33+
echo "MVN_ADDITIONAL_OPTS=org.sonarsource.scanner.maven:sonar-maven-plugin:5.5.0.6356:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY }} -Dsonar.organization=${{ vars.SONAR_ORGANIZATION }} -Dsonar.scanner.skipJreProvisioning -Pcode-coverage" >> $GITHUB_ENV
3434
echo "GIT_FETCH_DEPTH=0" >> $GITHUB_ENV # Shallow clones should be disabled for a better relevancy of analysis
3535
else
3636
echo "MVN_ADDITIONAL_OPTS=" >> $GITHUB_ENV

0 commit comments

Comments
 (0)