-
-
Notifications
You must be signed in to change notification settings - Fork 182
38 lines (33 loc) · 950 Bytes
/
verify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: verify
on: [push, pull_request]
jobs:
verify:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.4
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Maven verify
run: mvn -B verify -Prun-its
- uses: actions/upload-artifact@v3
if: failure()
with:
name: ${{ runner.os }}-it-build-logs
path: target/it/*/*.log