2020-07-11 12:05:50 +01:00
|
|
|
name: maven-build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: '*'
|
|
|
|
pull_request:
|
|
|
|
branches: '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-10-12 07:06:32 +01:00
|
|
|
# only needs to be able to run builder module, other outputs are xml
|
|
|
|
# latest-lts
|
|
|
|
java: [ 17 ]
|
2020-07-11 12:05:50 +01:00
|
|
|
steps:
|
2022-10-06 07:19:29 +01:00
|
|
|
- uses: actions/checkout@v3.1.0
|
2020-07-11 12:05:50 +01:00
|
|
|
- name: setup-jdk-${{ matrix.java }}
|
2022-09-27 07:10:18 +01:00
|
|
|
uses: actions/setup-java@v3.5.1
|
2020-07-11 12:05:50 +01:00
|
|
|
with:
|
2022-10-12 07:06:32 +01:00
|
|
|
distribution: 'temurin'
|
2020-07-11 12:05:50 +01:00
|
|
|
java-version: ${{ matrix.java }}
|
2021-08-24 10:11:57 +01:00
|
|
|
cache: maven
|
2020-07-11 12:05:50 +01:00
|
|
|
- name: build-jar
|
|
|
|
run: mvn -B install
|