File tree 2 files changed +9
-18
lines changed
2 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - uses : actions/checkout@v2
17
- - name : Set up JDK 8
18
- uses : actions/setup-java@v2
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-java@v4
19
18
with :
19
+ distribution : ' temurin' # See 'Supported distributions' for available options
20
20
java-version : ' 8'
21
- distribution : ' adopt '
21
+ cache : ' maven '
22
22
- name : Build with Maven
23
23
run : mvn --batch-mode --update-snapshots verify
Original file line number Diff line number Diff line change @@ -13,23 +13,14 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - uses : actions/checkout@v2
17
- - name : Set up Apache Maven Central
18
- uses : actions/setup-java@v2
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-java@v4
19
18
with :
20
- java-version : 8
21
- distribution : ' adopt'
22
-
23
- - name : Cache Maven packages
24
- uses : actions/cache@v2
25
- with :
26
- path : ~/.m2
27
- key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28
- restore-keys : ${{ runner.os }}-m2
29
-
19
+ distribution : ' temurin' # See 'Supported distributions' for available options
20
+ java-version : ' 8'
21
+ cache : ' maven'
30
22
- name : Maven build
31
23
run : mvn --batch-mode clean install
32
-
33
24
- name : Upload binaries to release
34
25
uses : svenstaro/upload-release-action@483c1e56f95e88835747b1c7c60581215016cbf2
35
26
with :
You can’t perform that action at this time.
0 commit comments