Skip to content

Commit

Permalink
Switch CI to OpenJDK 17 to fix dotnet sonarscanner
Browse files Browse the repository at this point in the history
  • Loading branch information
Elanis authored Dec 9, 2023
1 parent 06e5315 commit 56ff347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
dotnet tool install --global dotnet-sonarscanner
sudo apt-get update
sudo mkdir -p /usr/share/man/man1
sudo apt install openjdk-11-jdk jq -y
sudo apt install openjdk-17-jdk jq -y
- name: Start sonarscanner
run: dotnet sonarscanner begin /k:"${{ env.SONAR_KEY }}" /d:sonar.host.url="${{ env.SONAR_HOST_URL }}" /d:sonar.token="${{ env.SONAR_TOKEN }}" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.coverage.exclusions="**Test*.cs" /d:sonar.branch.name="${{github.ref_name}}"
Expand Down

0 comments on commit 56ff347

Please sign in to comment.