From 161c69710422342eb8febedb4c87e3e42e6824d1 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Thu, 26 Oct 2023 08:39:55 -0700 Subject: [PATCH] Update main.yml Actually install JDK 17 for SonarCloud --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97088000d..96e403145 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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