From 0094fc9f0552c0d6ed70b41fbfba48f7ed8879c0 Mon Sep 17 00:00:00 2001 From: Robbie Gemmell Date: Mon, 17 May 2021 15:04:43 +0100 Subject: [PATCH] NO-JIRA: update to current setup-java action, take advantage of tool cache install for LTS versions --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89fdf32621..3e0d59ab1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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