2020-01-23 22:59:45 +01:00
|
|
|
name: Maven Build
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-04-03 23:20:07 +02:00
|
|
|
runs-on: ubuntu-22.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:
|
2023-09-20 10:05:28 +02:00
|
|
|
java: [8, 11, 17, 21]
|
2020-01-23 22:59:45 +01:00
|
|
|
|
|
|
|
name: Java ${{ matrix.java }}
|
|
|
|
|
|
|
|
steps:
|
2023-09-08 11:33:56 +02:00
|
|
|
- uses: actions/checkout@v4
|
2023-12-10 01:00:24 +01:00
|
|
|
- uses: actions/setup-java@v4
|
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
|