-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 713 Bytes
/
ci.yml
File metadata and controls
39 lines (35 loc) · 713 Bytes
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
name: ci build and test
on:
push:
branches: [ main ]
paths:
- "tinytypes/**"
- "testing/**"
- "meta/**"
- "jackson/**"
- "jersey/**"
- "pom.xml"
pull_request:
branches: [ main ]
paths:
- "tinytypes/**"
- "testing/**"
- "meta/**"
- "jackson/**"
- "jersey/**"
- "pom.xml"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 16, 17 ]
steps:
- uses: actions/checkout@v2
- name: Set up java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: build
run: mvn -B package --file pom.xml