Skip to content

Improved GitHub Actions CI configuration #38

Improved GitHub Actions CI configuration

Improved GitHub Actions CI configuration #38

Workflow file for this run

name: maven
on:
push:
branches: [ '1.6.X', master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- run: mvn -B package --file pom.xml