name: CI on: push: branches: - '*' pull_request: branches: - '*' jobs: windows: name: Windows (Java 11) runs-on: windows-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 10 - name: Set up JDK 11 uses: actions/setup-java@v1 with: java-version: 11 - name: Build run: ./gradlew build linux: name: Linux (Java 8) runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 10 - name: Set up JDK 8 uses: actions/setup-java@v1 with: java-version: 8 - name: Build run: ./gradlew build macos: name: macOS (Java 11) runs-on: macos-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 10 - name: Set up JDK 11 uses: actions/setup-java@v1 with: java-version: 11 - name: Build run: ./gradlew build