update gh build action and java versions

This commit is contained in:
Craig Raw 2022-05-17 12:30:22 +02:00
parent 1399b73dc2
commit 674498052f

View file

@ -9,18 +9,18 @@ jobs:
matrix: matrix:
os: [windows-latest, ubuntu-latest] os: [windows-latest, ubuntu-latest]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: true submodules: true
- name: Set up JDK 16.0.1 - name: Set up JDK 17.0.2
uses: actions/setup-java@v2 uses: actions/setup-java@v3
with: with:
distribution: 'adopt' distribution: 'temurin'
java-version: '16.0.1' java-version: '17.0.2'
- name: Show Build Versions - name: Show Build Versions
run: ./gradlew -v run: ./gradlew -v
- name: Cache Gradle packages - name: Cache Gradle packages
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.gradle/caches path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}