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.
2 parents 1666953 + 1b96d31 commit a19f6faCopy full SHA for a19f6fa
.github/workflows/maven.yml
@@ -8,12 +8,25 @@ jobs:
8
strategy:
9
matrix:
10
java: [ 8, 11 ]
11
+
12
name: Build and tests on JDK ${{ matrix.java }}
13
14
steps:
- - uses: actions/checkout@v2
- - name: Set up JDK
15
+ - name: Checkout code
16
+ uses: actions/checkout@v2
17
18
+ - name: Set up JDK ${{ matrix.java }}
19
uses: actions/setup-java@v1
20
with:
21
java-version: ${{ matrix.java }}
22
23
+ - name: Cache .m2
24
+ uses: actions/cache@v1
25
+ with:
26
+ path: ~/.m2/repository
27
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys: |
29
+ ${{ runner.os }}-maven
30
31
- name: Build and verify
32
run: mvn clean verify
0 commit comments