You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mt...@apache.org on 2021/04/14 12:44:31 UTC

[nifi] branch main updated: NIFI-8411 update to use latest java action and specific distribution so we can validate azul and zulu

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

mthomsen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 8c66049  NIFI-8411 update to use latest java action and specific distribution so we can validate azul and zulu
8c66049 is described below

commit 8c66049d1d5f6a47ec2c4ed6cfcb22496504130c
Author: Joe Witt <jo...@apache.org>
AuthorDate: Fri Apr 9 07:00:59 2021 -0700

    NIFI-8411 update to use latest java action and specific distribution so we can validate azul and zulu
    
    This closes #4995
    
    Signed-off-by: Mike Thomsen <mt...@apache.org>
---
 .github/workflows/ci-workflow.yml | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml
index ac30dc1..421f5bf 100644
--- a/.github/workflows/ci-workflow.yml
+++ b/.github/workflows/ci-workflow.yml
@@ -84,9 +84,10 @@ jobs:
           restore-keys: |
             mvn-it-
       - name: Set up JDK 1.8 FR
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
-          java-version: 1.8
+          distribution: 'zulu'
+          java-version: '8'
       - name: Disk After Cache
         run: |
           df -h
@@ -166,9 +167,10 @@ jobs:
           restore-keys: |
             mvn-it-
       - name: Set up JDK 11 EN
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
-          java-version: 11
+          distribution: 'zulu'
+          java-version: '11'
       - name: Disk After Cache
         run: |
           df -h
@@ -243,9 +245,10 @@ jobs:
           restore-keys: |
             mvn-it-
       - name: Set up JDK 1.8 JP
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
-          java-version: 1.8
+          distribution: 'adopt'
+          java-version: '8'
       - name: Disk After Cache
         run: |
           df -h
@@ -313,9 +316,10 @@ jobs:
           restore-keys: |
             win-mvn-it-
       - name: Set up JDK 1.8
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v2
         with:
-          java-version: 1.8
+          distribution: 'zulu'
+          java-version: '8'
       - name: Build with Maven
         env:
           MAVEN_OPTS: -Xmx2g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=en -Duser.region=US -Duser.timezone=US/Pacific" -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false