2020-02-25 21:56:23 +00:00
|
|
|
name: Maven Test
|
2020-02-25 20:45:08 +00:00
|
|
|
|
2020-02-25 22:22:40 +00:00
|
|
|
on: [push]
|
2020-02-25 20:45:08 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2020-02-25 21:56:23 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-02-26 04:18:41 +00:00
|
|
|
java_version: [11, 13]
|
2020-02-25 21:56:23 +00:00
|
|
|
os: [ubuntu-latest, windows-latest]
|
2020-02-25 20:45:08 +00:00
|
|
|
|
|
|
|
steps:
|
2020-02-25 22:22:40 +00:00
|
|
|
- name: Checkout
|
2020-02-25 22:25:14 +00:00
|
|
|
uses: actions/checkout@v2
|
2020-02-25 22:22:40 +00:00
|
|
|
- name: Setup Java JDK
|
|
|
|
uses: actions/setup-java@v1
|
2020-02-25 20:45:08 +00:00
|
|
|
with:
|
2020-02-25 22:22:40 +00:00
|
|
|
java-version: ${{ matrix.java_version }}
|
2020-02-25 20:45:08 +00:00
|
|
|
- name: Build with Maven
|
|
|
|
run: mvn -B package --file pom.xml
|