From 9cac74c25f6b908a70391d39ccade6475d2a9381 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Sun, 10 Mar 2024 14:47:28 +0100 Subject: [PATCH] bump java version for sonarcould plugin --- .github/workflows/build.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39c5ffe5fa0b..173aaf25316b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,18 +15,15 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 11 - run: | - sudo apt-get update - sudo apt-get -q -y install default-jdk -# apt-get -q -y install libservlet3.1-java tomcat9 -# uses: actions/setup-java@v1 -# with: -# java-version: 11 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'zulu' # Alternative distribution options are available. - name: Set up Maven uses: stCarolas/setup-maven@v4.5 with: - maven-version: 3.8.7 + maven-version: 3.8.7 - name: Cache SonarCloud packages uses: actions/cache@v3 with: