-
Notifications
You must be signed in to change notification settings - Fork 16
48 lines (42 loc) · 1.24 KB
/
build.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
44
45
46
47
48
name: Jakarta Config Build
on:
push:
paths-ignore:
- '.gitattributes'
- '.gitignore'
- 'CONTRIBUTING*'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'
- 'README*'
pull_request:
paths-ignore:
- '.gitattributes'
- '.gitignore'
- 'CONTRIBUTING*'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'
- 'README*'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
name: build with jdk ${{matrix.java}}
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
name: checkout
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
- uses: actions/[email protected]
name: set up jdk ${{matrix.java}}
with:
distribution: 'temurin'
java-version: ${{matrix.java}}
cache: 'maven'
- name: build with maven
run: mvn --batch-mode --no-transfer-progress --show-version --errors install