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 c301223cb9 CAUSEWAY-3400: try fixing build (4)
c301223cb9 is described below

commit c301223cb98e752a2a68733ce07516596e5092f9
Author: Andi Huber <[email protected]>
AuthorDate: Mon Apr 17 07:33:46 2023 +0200

    CAUSEWAY-3400: try fixing build (4)
---
 .../workflows/ci-build-artifacts-no-push-maven.yml | 27 ++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci-build-artifacts-no-push-maven.yml 
b/.github/workflows/ci-build-artifacts-no-push-maven.yml
index 4a2c421bd5..998e47036c 100644
--- a/.github/workflows/ci-build-artifacts-no-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-no-push-maven.yml
@@ -51,6 +51,11 @@ jobs:
     steps:
     - uses: actions/checkout@v3
 
+    - name: Extract branch name
+      shell: bash
+      run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >>$GITHUB_OUTPUT
+      id: extract_branch
+
     - name: Set up JDK 18
       if: matrix.language == 'java'
       uses: actions/setup-java@v3
@@ -97,8 +102,8 @@ jobs:
       with:
         languages: ${{ matrix.language }}
 
-    - name: Build Artifacts
-      if: matrix.language == 'java'
+    - name: Build Artifacts (Main)
+      if: matrix.language == 'java' && steps.extract_branch.outputs.branch == 
'master'
       shell: bash
       run: bash $CI_SCRIPTS_PATH/build-artifacts.sh
       env:
@@ -115,6 +120,24 @@ jobs:
           -Denforcer.failFast=true
           -e
           
+    - name: Build Artifacts (Edge)
+      if: matrix.language == 'java' && steps.extract_branch.outputs.branch == 
'spring6'
+      shell: bash
+      run: bash $CI_SCRIPTS_PATH/build-artifacts.sh
+      env:
+        # -Dmodule-all ... build all modules (default if all is well)
+        # -Dmodule-all-except-incubator ... build all modules except 
'incubator' (eg. when vaadin build fails)
+        # -Dmodule-all-except-kroviz ... build all modules except 'kroviz' 
(eg. when kroviz build fails)
+        # -Denforcer.failFast=true ... fail fast on convergence issues 
(enforcer plugin)
+        # -Dmaven.source.skip=true ... no need for the CI build to pull sources
+        # -T 1C ... 1 build thread per core
+        MVN_ADDITIONAL_OPTS: >-
+          -Dmodule-all-except-kroviz
+          -Dproject.build.outputTimestamp=1
+          -Dmaven.source.skip=true
+          -Denforcer.failFast=true
+          -e
+          
     # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or 
Java).
     # If this step fails, then you should remove it and run the build manually
     - name: "CodeQL: Autobuild" 

Reply via email to