We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c3d67 commit fedd86fCopy full SHA for fedd86f
.github/workflows/pr.yml
@@ -0,0 +1,27 @@
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
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
0 commit comments