You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ro...@apache.org on 2021/04/06 23:04:20 UTC

[aries-jax-rs-whiteboard] 04/06: update actions/setup-java@v2

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

rotty3000 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git

commit d7314235818ca0dd86edd4acabd275a7d0690582
Author: Raymond Auge <ro...@apache.org>
AuthorDate: Tue Apr 6 18:49:20 2021 -0400

    update actions/setup-java@v2
    
    Signed-off-by: Raymond Auge <ro...@apache.org>
---
 .github/workflows/maven.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 6f023d5..0ea546b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -38,8 +38,10 @@ jobs:
     - name: Git Checkout
       uses: actions/checkout@v2
     - name: Set up Java
-      uses: actions/setup-java@v1
+      uses: actions/setup-java@v2
       with:
+        distribution: 'zulu'
+        check-latest: ${{ endsWith(matrix.java, '-ea') }}
         java-version: ${{ matrix.java }}
     - name: Build
       continue-on-error: ${{contains(matrix.java, '-ea')}}