name: "Build Gradle project"
on: [push]

jobs:
  build:
     runs-on: ubuntu-latest
     strategy:
        matrix:
          java: [ 8, 9, 10, 11, 12 ]
     name: Building on Java ${{ matrix.java }}
     steps:
       - name: Check out project
         uses: actions/checkout@v2
       - name: Set up JDK ${{ matrix.java }}
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.java }}
       - name: Build with Gradle
         run: ./gradlew build -Pgradle-jooq-plugin.acceptGradleTOS=true

name: "Build Gradle project"
on: [push]

jobs:
  build:
     runs-on: ubuntu-latest
     strategy:
        matrix:
          java: [ 8, 9, 10, 11, 12 ]
     name: Building on Java ${{ matrix.java }}
     steps:
       - name: Check out project
         uses: actions/checkout@v2
       - name: Set up JDK ${{ matrix.java }}
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.java }}
       - name: Build with Gradle
         run: ./gradlew build testAll -Pgradle-jooq-plugin.acceptGradleTOS=true

Test multiple Gradle versions oer JDK version
Test multiple Gradle versions oer JDK version
