From 5f5d0a8269bee9b605b369f7a3db56add6bdba16 Mon Sep 17 00:00:00 2001 From: Oliver Grande Date: Thu, 12 Oct 2023 16:16:50 +0200 Subject: [PATCH] Update build.yml and sonar.yml (#231) * Update build.yml and sonar.yml * Update sonar.yml * remove java 21 --- .github/workflows/build.yml | 2 +- .github/workflows/sonar.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7018f460d..3142b52f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-version: [ 8, 17, 19 ] + java-version: [ 17, 19 ] name: Build with Java ${{ matrix.java-version }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 3fa81d173..f98b839ca 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -13,10 +13,10 @@ 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 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 17 distribution: 'temurin' cache: maven - name: Cache SonarCloud packages