| name: build |
| |
| on: |
| push: |
| paths-ignore: |
| - '**.md' |
| pull_request: |
| paths-ignore: |
| - '**.md' |
| |
| jobs: |
| build: |
| |
| runs-on: ubuntu-latest |
| strategy: |
| matrix: |
| # test against latest update of each major Java version, as well as specific updates of LTS versions: |
| java: [ 1.8, 11, 13 ] |
| name: build on Java ${{ matrix.java }} |
| steps: |
| - uses: actions/checkout@v1 |
| with: |
| submodules: recursive |
| - name: Set up JDK ${{ matrix.java }} |
| uses: actions/setup-java@v1 |
| with: |
| java-version: ${{ matrix.java }} |
| - name: Build with Maven |
| run: mvn -B package --file pom.xml |