You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2021/06/28 06:43:34 UTC

[zeppelin] branch branch-0.9 updated: [ZEPPELIN-5433] Update Action setup-java to v2

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

pdallig pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.9 by this push:
     new 4b45f8f  [ZEPPELIN-5433] Update Action setup-java to v2
4b45f8f is described below

commit 4b45f8fe14f87fd1eea5c9a504bd0b6f38f976db
Author: Philipp Dallig <ph...@gmail.com>
AuthorDate: Tue Jun 22 13:30:35 2021 +0200

    [ZEPPELIN-5433] Update Action setup-java to v2
    
    ### What is this PR for?
    This PR updates setup-java action to v2.
    I decided to use the binaries from adoptopenjdk because it is a community project with many [sponsors](https://adoptopenjdk.net/sponsors.html). Azul, which provides the other OpenJDK variant ( Zulu ), is also on board.
    
    ### What type of PR is it?
    - Improvement
    
    ### What is the Jira issue?
    * https://issues.apache.org/jira/browse/ZEPPELIN-5433
    
    ### How should this be tested?
    * CI
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    Author: Philipp Dallig <ph...@gmail.com>
    
    Closes #4156 from Reamer/setup_java_v2 and squashes the following commits:
    
    b0216b231 [Philipp Dallig] Update Action setup-java to v2
    
    (cherry picked from commit dc9e9dd1138d593cdce508a2cfd541ff23e87a57)
    Signed-off-by: Philipp Dallig <ph...@gmail.com>
---
 .github/workflows/core.yml     | 30 ++++++++++++++++++++----------
 .github/workflows/frontend.yml |  9 ++++++---
 .github/workflows/rat.yml      |  3 ++-
 3 files changed, 28 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index b8df0ac..edda7ce 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -38,8 +38,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -79,8 +80,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -111,8 +113,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -151,8 +154,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -184,8 +188,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -223,8 +228,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -260,8 +266,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -296,8 +303,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -332,8 +340,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -366,8 +375,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 8520396..7f6c7cd 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -30,8 +30,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -54,8 +55,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
@@ -80,8 +82,9 @@ jobs:
       - name: Tune Runner VM
         uses: ./.github/actions/tune-runner-vm
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Cache local Maven repository
         uses: actions/cache@v2
diff --git a/.github/workflows/rat.yml b/.github/workflows/rat.yml
index 9d31bc8..880f9a5 100644
--- a/.github/workflows/rat.yml
+++ b/.github/workflows/rat.yml
@@ -22,8 +22,9 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set up JDK 8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
+          distribution: 'adopt'
           java-version: 8
       - name: Check Rat
         run: mvn apache-rat:check -Prat -B