update github build to java 16

This commit is contained in:
Craig Raw 2021-06-25 15:18:51 +02:00
parent 094dd45547
commit 1c1f90344f

View file

@ -12,16 +12,11 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
submodules: true submodules: true
- name: Set up JDK 15.0.2 - name: Set up JDK 16.0.1
if: ${{ runner.os == 'Linux' }} uses: actions/setup-java@v2
uses: joschi/setup-jdk@v2
with: with:
java-version: 15 distribution: 'adopt'
- name: Set up JDK 14.0.2 java-version: '16.0.1'
if: ${{ runner.os == 'Windows' }}
uses: actions/setup-java@v1
with:
java-version: 14.0.2
- name: Show Build Versions - name: Show Build Versions
run: ./gradlew -v run: ./gradlew -v
- name: Cache Gradle packages - name: Cache Gradle packages