name: Bach.java
on: push
jobs:
  build:
    name: Linux
    runs-on: ubuntu-latest
    strategy:
      matrix:
        java-version: [11, 13]
    steps:
    - name: 'Checkout'
      uses: actions/checkout@v1
    - name: 'Set up JDK'
      uses: actions/setup-java@v1
      with:
        java-version: ${{ matrix.java-version }}
    - name: 'Show Bach.java version'
      run: java src/build/Version.java
    - name: 'Build Bach.java'
      run: ./build.jsh
    - name: 'Install modules into local Maven repository'
      run: source bin/maven-install.sh

name: Bach.java
on: push
jobs:
  build:
    name: Build on Java ${{ matrix.java }} and ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
        java: [11, 13]
    runs-on: ${{ matrix.os }}
    steps:
    - name: 'Checkout'
      uses: actions/checkout@v1
    - name: 'Set up JDK'
      uses: actions/setup-java@v1
      with:
        java-version: ${{ matrix.java }}
    - name: 'Show Bach.java version'
      run: java src/build/Version.java
    - name: 'Build Bach.java'
      run: ./build.jsh
    - name: 'Install modules into local Maven repository'
      run: source bin/maven-install.sh

Build on all three major operating systems
Build on all three major operating systems