Skip to content

Commit a14e046

Browse files
committed
refactor: 优化对同步操作的支持
1 parent c38c223 commit a14e046

File tree

3 files changed

+5
-23
lines changed

3 files changed

+5
-23
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13-
- name: Set up JDK 11
13+
- name: Set up JDK 17
1414
uses: actions/setup-java@v3
1515
with:
16-
java-version: '11'
16+
java-version: '17'
1717
distribution: 'temurin'
1818
cache: maven
1919
- name: Cache Maven Repository

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ bin/
1919
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2020
hs_err_pid*
2121
pom.xml.versionsBackup
22-
!maven-wrapper.jar
22+
!maven-wrapper.jar
23+
.java-version

pom.xml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<!-- base setting -->
4747
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4848
<project.build.locales>zh_CN</project.build.locales>
49-
<project.build.jdk>1.8</project.build.jdk>
49+
<project.build.jdk>17</project.build.jdk>
5050
<junit.version>4.13.2</junit.version>
5151
<slf4j.version>1.7.21</slf4j.version>
5252
<log4j.version>2.17.0</log4j.version>
@@ -116,25 +116,6 @@
116116
</snapshotRepository>
117117
</distributionManagement>
118118
</profile>
119-
<profile>
120-
<id>java8</id>
121-
<activation>
122-
<jdk>[1.8,)</jdk>
123-
</activation>
124-
<properties>
125-
<project.build.jdk>1.8</project.build.jdk>
126-
</properties>
127-
</profile>
128-
129-
<profile>
130-
<id>java11</id>
131-
<activation>
132-
<jdk>[11,)</jdk>
133-
</activation>
134-
<properties>
135-
<project.build.jdk>11</project.build.jdk>
136-
</properties>
137-
</profile>
138119
</profiles>
139120

140121
<build>

0 commit comments

Comments
 (0)