name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-18.04, windows-2019]
        java: [6, 7, 8, 9, 10]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-java@v1
      with:
        java-version: ${{ matrix.java }}
    - name: Java version
      run: java -version && javac -version
    - name: Build
      run: ./mvnw verify

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-18.04, windows-2019]
        java: [6, 7, 7.0.121, 8, 9, 10]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-java@v1
      with:
        java-version: ${{ matrix.java }}
    - name: Java version
      run: java -version && javac -version
    - name: Build
      run: ./mvnw verify

Build with older Java 7
Build with older Java 7

Java 7 supports TLS 1.2 but it is disabled by default in versions
before 1.7.0_131-b31.
