File tree 2 files changed +42
-20
lines changed
2 files changed +42
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : " PR Build"
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ name : Build
11
+ runs-on : ubuntu-20.04
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ java-version :
16
+ - 8
17
+ - 11
18
+ - 17
19
+ include :
20
+ - os : ubuntu-20.04
21
+ test-java-version : 11
22
+ coverage : true
23
+ steps :
24
+
25
+ with :
26
+ fetch-depth : 0
27
+ - name : Set up JDK
28
+ uses : actions/setup-java@v2
29
+ with :
30
+ java-version : ' ${{ matrix.java-version }}'
31
+ distribution : ' adopt'
32
+ - name : Caching
33
+ uses : actions/cache@v2
34
+ with :
35
+ path : ~/.m2
36
+ key : maven-dependencies-${{ hashFiles('pom.xml') }}-${{ matrix.java-version }}
37
+ - name : Build ${{ matrix.java-version }}
38
+ run : |
39
+ java -version
40
+ ./mvnw clean install
41
+ - name : Build Java Doc ${{ matrix.java-version }}
42
+ run : ./mvnw javadoc:jar
You can’t perform that action at this time.
0 commit comments