Skip to content

Commit aff0f0a

Browse files
committed
Updating java for sonar
1 parent 0981210 commit aff0f0a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/on.pr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
with:
3939
path: ~/.sonar/cache
4040
key: ${{ runner.os }}-sonar
41+
- name: Set up JDK 21 for Sonar
42+
uses: actions/setup-java@v4
43+
with:
44+
distribution: 'corretto'
45+
java-version: 21
4146
- name: Run Sonar Analysis
4247
run: mvn sonar:sonar
4348
-Dsonar.token=${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)