Skip to content

Commit

Permalink
ci: explicitly set up JDK 17 for Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
mu88 authored Oct 31, 2023
1 parent 7efbf0d commit 851a63d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0'
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- name: Restore dependencies
run: dotnet restore ScreenshotCreator.sln
- name: Begin Sonar scan
Expand Down Expand Up @@ -45,4 +50,4 @@ jobs:
provenance: false
platforms: linux/arm64,linux/amd64
tags: mu88/screenshotcreator:latest
file: src/ScreenshotCreator.Api/Dockerfile
file: src/ScreenshotCreator.Api/Dockerfile

0 comments on commit 851a63d

Please sign in to comment.