-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (32 loc) · 942 Bytes
/
maven.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
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java Servlet CI
on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
- '**.json'
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'
- '**.json'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 3
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java: [ 11 ]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
# Ensure that your code builds, tests pass, and a package can be created
run: mvn --batch-mode --update-snapshots verify