```javarefactor(maven): 将Java版本更新到21

更新CI工作流和pom.xml中的Java版本。此更改包括将GitHub Actions工作流中使用的JDK版本从17更新到21,
以及将pom.xml中定义的Java版本属性从17更新到21,以适应新的Java版本。
```
This commit is contained in:
2024-08-17 02:28:45 +08:00
parent 734960d031
commit c080be0093
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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