name: Java CI

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        java_version: [1.8, 11]
    steps:
      - name: Checkout
          uses: actions/checkout@v1
      - name: Set up JDK $
        uses: actions/setup-java@v1
        with:
          java-version: $
    - name: Build with Gradle
      run: ./gradlew

name: Java CI

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        java_version: [1.8, 11]
    steps:
      - uses: actions/checkout@v1
      - name: Set up JDK $
        uses: actions/setup-java@v1
        with:
          java-version: $
    - name: Gradle
      run: ./gradlew

Build Java 1.8 and 11.
[Java] Build Java 1.8 and 11.
