Skip to content

Commit bb5a9c9

Browse files
author
Evan Hu
committed
upgrade java to 15
1 parent 14e9056 commit bb5a9c9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-java@v1
1111
with:
12-
java-version: 1.8
12+
java-version: 15
1313
- name: Publish package
1414
run: mvn --batch-mode deploy
1515
env:

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 1.8
19+
- name: Set up JDK 15
2020
uses: actions/setup-java@v1
2121
with:
22-
java-version: 1.8
22+
java-version: 15
2323
- name: Build with Maven
2424
run: mvn -B package --file pom.xml

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>info.xiaomo</groupId>
88
<artifactId>g-engine</artifactId>
9-
<version>3.2.2</version>
9+
<version>3.2.3</version>
1010

1111
<properties>
12-
<maven.compiler.source>1.8</maven.compiler.source>
13-
<maven.compiler.target>1.8</maven.compiler.target>
12+
<maven.compiler.source>15</maven.compiler.source>
13+
<maven.compiler.target>15</maven.compiler.target>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
</properties>
1616

0 commit comments

Comments
 (0)