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 d5caa19 commit 81cffc1Copy full SHA for 81cffc1
.github/workflows/maven.yml
@@ -0,0 +1,25 @@
1
+name: Java CI
2
+on: push
3
+jobs:
4
+ build:
5
+ name: Java ${{ matrix.java }}
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ java: [8, 11, 13]
10
+ steps:
11
+ - name: Checkout project
12
+ uses: actions/checkout@v1
13
+ - name: Set up JDK
14
+ uses: actions/setup-java@v1
15
+ with:
16
+ java-version: ${{ matrix.java }}
17
+ - name: Cache Maven repository
18
+ uses: actions/cache@v1
19
20
+ path: ~/.m2/repository
21
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
22
+ restore-keys: |
23
+ ${{ runner.os }}-maven-
24
+ - name: Build with Maven
25
+ run: mvn -B test
.travis.yml
0 commit comments