-
Notifications
You must be signed in to change notification settings - Fork 123
43 lines (36 loc) · 990 Bytes
/
maven-ci.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
39
40
41
42
43
name: Java CI with Maven
on:
push:
branches: [ master, release/**, patch/** ]
pull_request:
branches: [ master, release/**, patch/** ]
jobs:
build:
name: Standard build on Java ${{ matrix.java }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: ['11']
experimental: [false]
include:
- java: '15'
experimental: true
- java: '16'
experimental: true
- java: '17'
experimental: true
continue-on-error: ${{ matrix.experimental }}
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Configure Java & Maven
uses: actions/setup-java@v3
with:
java-version: '${{ matrix.java }}'
cache: 'maven'
distribution: 'corretto'
- name: Build with Maven
run: mvn -B -e -ntp "-Dstyle.color=always" verify
- name: Verify Changed Files
run: contrib/ci/detect-changes.sh