From fe7bc030e883d4a1f74503a8b8c6756e49eed589 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 24 Sep 2023 21:29:32 -0400 Subject: [PATCH] [GHA] Update jdks --- .github/workflows/ci.yaml | 2 +- .github/workflows/sonar.yaml | 2 +- .github/workflows/sonatype.yaml | 2 +- .github/workflows/support.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2244d0388..716c4cb2f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - java: [17, 20, 21-ea] + java: [17, 21] distribution: ['zulu'] fail-fast: false max-parallel: 5 diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index e0f4295c8..6c2c3e0ac 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -33,7 +33,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: zulu - name: Analyze with SonarCloud run: ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_spring-boot-starter -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true --no-transfer-progress diff --git a/.github/workflows/sonatype.yaml b/.github/workflows/sonatype.yaml index c04b8b344..20e74be09 100644 --- a/.github/workflows/sonatype.yaml +++ b/.github/workflows/sonatype.yaml @@ -30,7 +30,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: 17 + java-version: 21 distribution: zulu - name: Deploy to Sonatype run: ./mvnw deploy -DskipTests -B -V --no-transfer-progress --settings ./.mvn/settings.xml -Dlicense.skip=true diff --git a/.github/workflows/support.yaml b/.github/workflows/support.yaml index 4b6fa1fcc..8cb1da50f 100644 --- a/.github/workflows/support.yaml +++ b/.github/workflows/support.yaml @@ -24,7 +24,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest] - java: [17, 20, 21-ea] + java: [17, 21] distribution: ['zulu'] fail-fast: false max-parallel: 5