From 1bf125f07dfc79bcc94c23ac3fe29b30d114adc5 Mon Sep 17 00:00:00 2001 From: Grey Elerson Date: Mon, 15 Jul 2024 01:27:44 -0600 Subject: [PATCH] chore: change distribution --- .github/workflows/sonarcloud.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 3ba2b64..548f5db 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -20,7 +20,7 @@ jobs: id: setup-java uses: actions/setup-java@v4 with: - distribution: 'temurin' + distribution: 'adopt' java-version: '17' - name: Cache SonarCloud packages @@ -43,13 +43,6 @@ jobs: unzip sonar-scanner.zip -d ~/.sonar/ mv ~/.sonar/sonar-scanner-4.6.2.2472-linux ~/.sonar/scanner ~/.sonar/scanner/bin/sonar-scanner --version - - - name: Ensure Java 17 is used - run: | - echo "JAVA_HOME: ${{ steps.setup-java.outputs.java-home }}" - export JAVA_HOME=${{ steps.setup-java.outputs.java-home }} - export PATH=${JAVA_HOME}/bin:${PATH} - java -version - name: SonarCloud Scan env: