You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2026/10/16 08:08:00 UTC

(jackrabbit-filevault) 01/01: JCRVLT-870: Enable CI for 3.2.x branch

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

reschke pushed a commit to branch JCRVLT-870
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git

commit cb41c868f0688d0c03dcf2c2de8d059040bac1f4
Author: Julian Reschke <ju...@gmx.de>
AuthorDate: Fri Oct 16 09:07:42 2026 +0100

    JCRVLT-870: Enable CI for 3.2.x branch
---
 .github/workflows/build.yml | 25 ++++++-------------------
 1 file changed, 6 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ded4d641..f0045ed1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -20,7 +20,11 @@ on:
   push:
     branches:
       - master
+      - 3.2
   pull_request:
+    branches:
+      - master
+      - 3.2
     types: [opened, synchronize, reopened]
 concurrency: 
   group: ${{ github.workflow }}-${{ github.ref }}
@@ -30,24 +34,7 @@ jobs:
     name: ${{ matrix.namePrefix }} Maven build (${{ matrix.os }}, JDK ${{ matrix.jdk }})
     strategy:
       matrix:
-        include:
-          # use multiple JDKs with toolchain (https://github.com/actions/setup-java#multiple-jdks-and-maven-toolchains)
-          - os: ubuntu-latest
-            jdk: | 
-              11
-              17
-          # lengthy build steps should only be performed on linux with Java 21 (deployment)
-          - os: ubuntu-latest
-            jdk: 21
-            isMainBuildEnv: true
-            namePrefix: 'Main '
-          - os: ubuntu-latest
-            jdk: 25
-          # just build on latest LTS JDK with windows/mac os
-          - os: windows-latest
-            jdk: 25
-          - os: macOS-latest
-            jdk: 25
+        include: ${{ (github.ref_name == '3.2' || github.base_ref == '3.2') && fromJSON('[{"os": "ubuntu-latest", "jdk": "11", "isMainBuildEnv": true, "namePrefix": "Main "}]') || fromJSON('[{"os": "ubuntu-latest", "jdk": "11\n17"}, {"os": "ubuntu-latest", "jdk": "21", "isMainBuildEnv": true, "namePrefix": "Main "}, {"os": "ubuntu-latest", "jdk": "25"}, {"os": "windows-latest", "jdk": "25"}, {"os": "macOS-latest", "jdk": "25"}]') }}
       fail-fast: true
     runs-on: ${{ matrix.os }}
     steps:
@@ -83,7 +70,7 @@ jobs:
             echo "MVN_GOAL=install site" >> $GITHUB_ENV
           fi
       - name: Enable Oak min IT for JDK 11 toolchain
-        if: ${{ contains(matrix.jdk, '11') && contains(matrix.jdk, '17') }}
+        if: ${{ contains(matrix.jdk, '11') }}
         shell: bash
         run: |
           echo "MVN_ADDITIONAL_OPTS=${MVN_ADDITIONAL_OPTS:+$MVN_ADDITIONAL_OPTS }-Dtoolchain-version=11" >> $GITHUB_ENV