Skip to content

Commit 9af9105

Browse files
authored
Set Java 11 for Sonar
1 parent 9ad88c0 commit 9af9105

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ jobs:
5252
- uses: actions/setup-dotnet@v1
5353
with:
5454
dotnet-version: '${{ env.DOTNETSDK_VERSION }}'
55+
- name: Use Java 11 (required by SonarCloud)
56+
uses: actions/setup-java@v1
57+
with:
58+
java-version: '11'
59+
java-package: jre
5560
- name: Install dotnet tools
5661
run: dotnet tool restore
5762
- name: SonarCloud Setup

0 commit comments

Comments
 (0)