22 lines
423 B
YAML
22 lines
423 B
YAML
name: Maven Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
java: [8, 11]
|
|
|
|
name: Java ${{ matrix.java }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: ${{ matrix.java }}
|
|
- run: java -version && mvn --version
|
|
- run: mvn --no-transfer-progress package javadoc:jar source:jar-no-fork
|