We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 299bf2e commit 0ec74d9Copy full SHA for 0ec74d9
.github/workflows/ci.yml
@@ -0,0 +1,32 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches: [ master ]
5
+ pull_request:
6
7
+
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - name: Cache Maven packages
14
+ uses: actions/cache@v2
15
+ with:
16
+ path: ~/.m2
17
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
18
+ restore-keys: ${{ runner.os }}-m2
19
+ - name: Compile
20
+ run: |
21
+ mvn clean
22
+ mvn compile
23
+ - name: Compile the unit tests
24
+ run: mvn test-compile
25
+ - name: Run the unit tests
26
+ run: mvn test
27
+ - name: Package artifact
28
+ run: mvn package
29
+ - uses: actions/upload-artifact@v2
30
31
+ name: artifacts
32
+ path: target
0 commit comments