-
Notifications
You must be signed in to change notification settings - Fork 181
37 lines (37 loc) · 1006 Bytes
/
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
name: ci
on:
push:
branches: [master,releases/2.0.x,releases/1.6.x]
paths-ignore:
- "**/*.md"
- "docs/**"
- ".circleci/**"
- ".github/dependabot.yml"
pull_request:
paths-ignore:
- "**/*.md"
- "docs/**"
- ".circleci/**"
- ".github/dependabot.yml"
workflow_dispatch: # Manual trigger
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17', '21' ]
name: Java ${{ matrix.Java }}
steps:
- uses: actions/checkout@v4
- name: Set-up Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
# See https://maven.apache.org/ref/current/maven-embedder/cli.html
run: ./mvnw --batch-mode -V --fail-at-end --errors install