This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git


The following commit(s) were added to refs/heads/main by this push:
     new cc1f548  NO-JIRA: update to current setup-java action, take advantage 
of tool cache install for LTS versions
cc1f548 is described below

commit cc1f548a6dcf24b7a2f85d3a6d0dbdac0e369848
Author: Robbie Gemmell <rob...@apache.org>
AuthorDate: Wed May 12 10:46:09 2021 +0100

    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 da9b057..71198f8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -20,9 +20,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'
 
       - name: Build
         run: mvn -B clean verify

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to