2020-01-23 22:59:45 +01:00
|
|
|
name: Maven Build
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
java: [8, 11]
|
|
|
|
|
|
|
|
name: Java ${{ matrix.java }}
|
|
|
|
|
|
|
|
steps:
|
2020-06-26 01:55:05 +02:00
|
|
|
- uses: actions/checkout@v2
|
2020-01-23 22:59:45 +01:00
|
|
|
- uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: ${{ matrix.java }}
|
2020-01-23 23:10:23 +01:00
|
|
|
- run: java -version && mvn --version
|
2020-02-04 04:59:52 +01:00
|
|
|
- run: mvn --activate-profiles dist --no-transfer-progress package
|