From c080be00932a58228db28cbad61bbc9359c594ed Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Sat, 17 Aug 2024 02:28:45 +0800 Subject: [PATCH] =?UTF-8?q?```javarefactor(maven):=20=E5=B0=86Java?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E5=88=B021?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新CI工作流和pom.xml中的Java版本。此更改包括将GitHub Actions工作流中使用的JDK版本从17更新到21, 以及将pom.xml中定义的Java版本属性从17更新到21,以适应新的Java版本。 ``` --- .github/workflows/maven.yml | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ee4c4c8..0c82c7e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,10 +22,10 @@ jobs: steps: - uses: actions/checkout@v4 - run: rm -rf test.db - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' cache: maven - run: mvn -B test --file pom.xml diff --git a/pom.xml b/pom.xml index 160087f..976b8cd 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ - 17 + 21