-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (32 loc) · 878 Bytes
/
maven.yaml
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: Java CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
java-version: [ 8, 11, 17 ]
fail-fast: false
name: ${{ matrix.os }} - Java ${{ matrix.java-version }} - Maven
steps:
- name: Checkout ParserNG repo
uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.2
- name: Build ParserNG with Maven
run: mvn "-Dgpg.skip" "--batch-mode" "--update-snapshots" "clean" "install"