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

24 lines
447 B
YAML
Raw Normal View History

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