File tree 4 files changed +17
-13
lines changed
4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,14 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
19
- - name : Set up JDK 15
20
- uses : actions/setup-java@v1
21
- with :
22
- java-version : 15
23
- - name : Build with Maven
24
- run : mvn -B package --file pom.xml
18
+ - uses : actions/checkout@v2
19
+
20
+ - name : Set up JDK
21
+ uses : actions/setup-java@v2
22
+ with :
23
+ java-version : 19
24
+ cache : ' maven'
25
+ distribution : ' temurin'
26
+
27
+ - name : Build with Maven
28
+ run : mvn -B compile --file pom.xml
Original file line number Diff line number Diff line change 5
5
# to you under the Apache License, Version 2.0 (the
6
6
# "License"); you may not use this file except in compliance
7
7
# with the License. You may obtain a copy of the License at
8
- #
9
- # http ://www.apache.org/licenses/LICENSE-2.0
10
- #
8
+ #
9
+ # https ://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
11
# Unless required by applicable law or agreed to in writing,
12
12
# software distributed under the License is distributed on an
13
13
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
14
# KIND, either express or implied. See the License for the
15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4 /apache-maven-3.8.4 -bin.zip
18
- wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0 /maven-wrapper-3.1.0 .jar
17
+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6 /apache-maven-3.8.6 -bin.zip
18
+ wrapperUrl =https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1 /maven-wrapper-3.1.1 .jar
Original file line number Diff line number Diff line change 19
19
20
20
<properties >
21
21
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
22
- <java .version>15 </java .version>
22
+ <java .version>19 </java .version>
23
23
</properties >
24
24
25
25
<dependencies >
You can’t perform that action at this time.
0 commit comments