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

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 1cf184c  setup-java v2
     new b9e87c3  Merge pull request #241 from sullis/gha-temurin-jdk
1cf184c is described below

commit 1cf184c6df07313af868016f4673548bcca87b43
Author: Sean C. Sullivan <git...@seansullivan.com>
AuthorDate: Sat Dec 18 19:46:52 2021 -0800

    setup-java v2
    
    https://github.com/actions/setup-java/blob/main/README.md
---
 .github/workflows/ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9364ead..2a036e2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -42,9 +42,10 @@ jobs:
           maven-java-${{ matrix.java }}-
           maven-
     - name: Set up Java
-      uses: actions/setup-java@v1
+      uses: actions/setup-java@v2
       with:
         java-version: ${{ matrix.java }}
+        distribution: 'zulu'
     - name: Build
       run: mvn -B -e -Papache-release -Dgpg.skip=true verify
     - name: Remove Snapshots
@@ -66,9 +67,10 @@ jobs:
           maven-deploy-
           maven-
     - name: Set up Java
-      uses: actions/setup-java@v1
+      uses: actions/setup-java@v2
       with:
         java-version: 15
+        distribution: 'zulu'
         server-id: apache.snapshots.https
         server-username: NEXUS_USER
         server-password: NEXUS_PW

Reply via email to