name: Maven Build on: pull_request: branches: - master jobs: build: name: Maven Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 8 uses: actions/setup-java@v2 with: java-version: '8' distribution: 'zulu' - name: Build with Maven run: mvn clean install