Update main.yml

Actually install JDK 17 for SonarCloud
This commit is contained in:
Nikolaj Schlej 2023-10-26 08:39:55 -07:00 committed by GitHub
parent 573452ec09
commit 161c697104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -388,6 +388,11 @@ jobs:
version: '6.5.0'
host: 'linux'
target: 'desktop'
- name: Install JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Install sonar-scanner and build-wrapper
uses: SonarSource/sonarcloud-github-c-cpp@v1
- name: Run build-wrapper