|
|
|
@ -7,13 +7,15 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
java: [8, 9, 10, 11 ]
|
|
|
|
|
java: [8, 11]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- name: Setup java
|
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
|
with:
|
|
|
|
|
java-version: ${{ matrix.java }}
|
|
|
|
|
distribution: 'zulu'
|
|
|
|
|
cache: 'maven'
|
|
|
|
|
- name: Build with Maven
|
|
|
|
|
run: mvn clean package -P full
|
|
|
|
|
|
|
|
|
@ -21,22 +23,27 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
java: [12, 13, 14 ]
|
|
|
|
|
# https://static.azul.com/zulu/bin/
|
|
|
|
|
java: [12, 13, 14 , 17, 18, '19.0.0-ea.33']
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- name: Set up JDK 1.8
|
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
|
with:
|
|
|
|
|
java-version: 8
|
|
|
|
|
distribution: 'zulu'
|
|
|
|
|
cache: 'maven'
|
|
|
|
|
- name: save java8 home
|
|
|
|
|
run: |
|
|
|
|
|
export JAVA8_HOME=$JAVA_HOME && echo $JAVA8_HOME
|
|
|
|
|
echo "export JAVA8_HOME=$JAVA_HOME" > ~/.testenv
|
|
|
|
|
|
|
|
|
|
- name: Setup java
|
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
|
with:
|
|
|
|
|
java-version: ${{ matrix.java }}
|
|
|
|
|
distribution: 'zulu'
|
|
|
|
|
cache: 'maven'
|
|
|
|
|
- name: Build with Maven
|
|
|
|
|
run: |
|
|
|
|
|
source ~/.testenv
|
|
|
|
|