File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3
+
4
+ name : PR integration check
5
+
6
+ on : [pull_request]
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Set up JDK 8
15
+ uses : actions/setup-java@v2
16
+ with :
17
+ java-version : ' 8'
18
+ distribution : ' adopt'
19
+ - name : Cache local Maven repository
20
+ uses : actions/cache@v2
21
+ with :
22
+ path : ~/.m2/repository
23
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
24
+ restore-keys : |
25
+ ${{ runner.os }}-maven-
26
+ - name : Build with Maven
27
+ run : mvn -B package --file pom.xml
You can’t perform that action at this time.
0 commit comments