88da5c05c7
Updates `actions/checkout` and `actions/setup-java` to v3.
24 lines
470 B
YAML
24 lines
470 B
YAML
name: Maven Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
java: [8, 11, 17]
|
|
|
|
name: Java ${{ matrix.java }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-java@v3
|
|
with:
|
|
distribution: zulu
|
|
java-version: ${{ matrix.java }}
|
|
- run: java -version && mvn --version
|
|
- run: mvn --activate-profiles dist --no-transfer-progress package
|