name: Java CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 11 uses: actions/setup-java@v2 with: java-version: '11' distribution: 'temurin' - name: Set up Ant uses: cedx/setup-ant@v3 with: optional-tasks: true version: latest - name: Build with Ant run: ant build