From b563b73114648ff2b05cd7b986aada5d81bf87c6 Mon Sep 17 00:00:00 2001 From: darefjev44 <71537609+darefjev44@users.noreply.github.com> Date: Thu, 11 Apr 2024 19:10:38 +0100 Subject: [PATCH] Update sonarcloud.yml set up jdk before running sonarcloud --- .github/workflows/sonarcloud.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index a6fee2b4b..3b8442f85 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -43,6 +43,11 @@ jobs: runs-on: ubuntu-latest steps: + - name: Setup Java JDK + uses: actions/setup-java@v4.2.1 + with: + java-version: '17' + distribution: 'adopt' - name: Analyze with SonarCloud # You can pin the exact commit or the version.