kemitix-pmd-ruleset/.github/workflows/build-maven.yml

23 lines
447 B
YAML

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