mon/.github/workflows/build-maven.yml

25 lines
492 B
YAML
Raw Normal View History

2020-07-11 12:15:25 +01:00
name: maven-build
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 16 ]
2020-07-11 12:15:25 +01:00
steps:
- uses: kamiazya/setup-graphviz@v1
- uses: actions/checkout@v2
- name: setup-jdk-${{ matrix.java }}
uses: actions/setup-java@v2.1.0
2020-07-11 12:15:25 +01:00
with:
distribution: 'adopt'
2020-07-11 12:15:25 +01:00
java-version: ${{ matrix.java }}
- name: build-jar
run: mvn -B install