2020-01-23 22:59:45 +01:00
|
|
|
name: Maven Build
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-02-13 23:35:07 +01:00
|
|
|
runs-on: ubuntu-20.04
|
2020-01-23 22:59:45 +01:00
|
|
|
|
|
|
|
strategy:
|
2021-02-13 23:35:07 +01:00
|
|
|
fail-fast: false
|
2020-01-23 22:59:45 +01:00
|
|
|
matrix:
|
2021-09-15 23:43:13 +02:00
|
|
|
java: [8, 11, 17]
|
2020-01-23 22:59:45 +01:00
|
|
|
|
|
|
|
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
|