You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/05/25 05:03:37 UTC

[causeway] branch master updated: Revert "CAUSEWAY-2445: switch build scripts to use JDK 20"

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/master by this push:
     new 09b99885d4 Revert "CAUSEWAY-2445: switch build scripts to use JDK 20"
09b99885d4 is described below

commit 09b99885d498edcf941de9f379b165274431ed2f
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu May 25 07:03:15 2023 +0200

    Revert "CAUSEWAY-2445: switch build scripts to use JDK 20"
    
    This reverts commit 3a6aff344e69f3ea0acf9d54a4ce6310c453e548.
---
 .github/workflows/ci-build-artifacts-no-push-maven.yml | 6 ++++--
 .github/workflows/ci-build-site-no-push.yml            | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci-build-artifacts-no-push-maven.yml b/.github/workflows/ci-build-artifacts-no-push-maven.yml
index 1f08438825..de700b4130 100644
--- a/.github/workflows/ci-build-artifacts-no-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-no-push-maven.yml
@@ -52,12 +52,14 @@ jobs:
     steps:
     - uses: actions/checkout@v3
 
-    - name: Set up JDK 20
+    - name: Set up JDK 18
       if: matrix.language == 'java'
       uses: actions/setup-java@v3
       with:
         distribution: 'zulu'
-        java-version: 20
+        # tried 19 on 2023-02-05 casing org.codehaus.plexus.archiver.ArchiverException:
+        # Could not create modular JAR file. The JDK jar tool exited with 1
+        java-version: 18
 
     - name: Print Maven Version
       if: matrix.language == 'java'
diff --git a/.github/workflows/ci-build-site-no-push.yml b/.github/workflows/ci-build-site-no-push.yml
index e8b390b6fc..3818b33c90 100644
--- a/.github/workflows/ci-build-site-no-push.yml
+++ b/.github/workflows/ci-build-site-no-push.yml
@@ -32,11 +32,11 @@ jobs:
     steps:
     - uses: actions/checkout@v3
 
-    - name: Set up JDK 20
+    - name: Set up JDK 19
       uses: actions/setup-java@v3
       with:
         distribution: 'zulu'
-        java-version: 20
+        java-version: 19
 
     - name: Setup Script Environment
       shell: bash