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:
|
2022-11-12 01:34:17 +01:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-java@v3
|
2020-01-23 22:59:45 +01:00
|
|
|
with:
|
2022-11-12 01:34:17 +01:00
|
|
|
distribution: zulu
|
2020-01-23 22:59:45 +01:00
|
|
|
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
|