kwin commented on code in PR #446:
URL: 
https://github.com/apache/jackrabbit-filevault/pull/446#discussion_r4292359383


##########
.github/workflows/build.yml:
##########
@@ -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"}]') }}

Review Comment:
   This disables matrix builds on master.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to