We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec6def4 commit 5087b3cCopy full SHA for 5087b3c
.circleci/config.yml
.github/workflows/pr-build.yml
@@ -0,0 +1,38 @@
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
+ steps:
20
+ - uses: actions/[email protected]
21
+ with:
22
+ fetch-depth: 0
23
+ - name: Set up JDK
24
+ uses: actions/setup-java@v2
25
26
+ java-version: '${{ matrix.java-version }}'
27
+ distribution: 'adopt'
28
+ - name: Caching
29
+ uses: actions/cache@v2
30
31
+ path: ~/.m2
32
+ key: maven-${{ hashFiles('pom.xml') }}-${{ matrix.java-version }}
33
+ - name: Build ${{ matrix.java-version }}
34
+ run: |
35
+ java -version
36
+ ./mvnw clean install
37
+ - name: Build Java Doc ${{ matrix.java-version }}
38
+ run: ./mvnw javadoc:jar
0 commit comments