name: Jenetics Build

on:
  push:
    branches:
      - master
      - releases/*
      - issues/*
  pull_request:
    branches:
      - master
      - releases/*

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ ubuntu-latest, macos-latest ]
        java-version: [ 17, 18  ]
    steps:
    - uses: actions/checkout@v2

    - name: Set up JDK ${{ matrix.java-version }} on ${{ matrix.os }}
      uses: actions/setup-java@v2
      with:
        java-version: ${{ matrix.java-version }}
        distribution: 'zulu'
        cache: 'gradle'
    - name: Build with Gradle
      run: ./gradlew build --stacktrace --info

name: Jenetics Build

on:
  push:
    branches:
      - master
      - releases/*
      - issues/*
  pull_request:
    branches:
      - master
      - releases/*

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ ubuntu-latest, macos-latest ]
        java-version: [ 17, 18, 19ea ]
    steps:
    - uses: actions/checkout@v2

    - name: Set up JDK ${{ matrix.java-version }} on ${{ matrix.os }}
      uses: actions/setup-java@v2
      with:
        java-version: ${{ matrix.java-version }}
        distribution: 'zulu'
        cache: 'gradle'
    - name: Build with Gradle
      run: ./gradlew build --stacktrace --info

Add build for Java 19ea.
Add build for Java 19ea.
