Skip to content

Commit 82e4837

Browse files
committed
[GHA] Update jdks
1 parent 3c13160 commit 82e4837

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, macOS-latest, windows-latest]
11-
java: [11, 17, 20, 21, 22]
11+
java: [11, 17, 21, 22]
1212
distribution: ['zulu']
1313
fail-fast: false
1414
max-parallel: 4

.github/workflows/sonar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up JDK
1818
uses: actions/setup-java@v3
1919
with:
20-
java-version: 17
20+
java-version: 21
2121
distribution: zulu
2222
- name: Analyze with SonarCloud
2323
run: ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_mybatis-3 -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true --no-transfer-progress

.github/workflows/sonatype.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up JDK
1515
uses: actions/setup-java@v3
1616
with:
17-
java-version: 17
17+
java-version: 21
1818
distribution: zulu
1919
- name: Deploy to Sonatype
2020
run: ./mvnw deploy -DskipTests -B -V --no-transfer-progress --settings ./.mvn/settings.xml -Dlicense.skip=true

0 commit comments

Comments
 (0)