NO-JIRA: update to current setup-java action, take advantage of tool cache install for LTS versions

This commit is contained in:
Robbie Gemmell 2021-05-17 15:04:43 +01:00
parent 2e2cd1f073
commit 0094fc9f05
1 changed files with 2 additions and 1 deletions

View File

@ -22,9 +22,10 @@ jobs:
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
# use 'install' so smoke-tests will work
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run