name: Maven Test on: [push] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: java_version: [11, 13] os: [ubuntu-latest, windows-latest] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Java JDK uses: actions/setup-java@v1 with: java-version: ${{ matrix.java_version }} - name: Build with Maven run: mvn -B package --file pom.xml