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

sebb pushed a commit to branch native_simplify
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/native_simplify by this push:
     new 8b942afa Try excluding intermediate Java versions
8b942afa is described below

commit 8b942afa3c71ade8bcb7661f53b1fa3c138c707b
Author: Sebb <s...@apache.org>
AuthorDate: Sat Nov 4 13:20:57 2023 +0000

    Try excluding intermediate Java versions
---
 .github/workflows/maven.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 951ea169..bbc4228c 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -59,6 +59,10 @@ jobs:
 #          - java: 22-ea
 #            os: macos-latest
 #            experimental: true
+        # We don't need to build all Java versions every time
+        # Try excluding 11, 17 on branch pushes
+        exclude:
+          java: ${{ (github.ref != 'refs/heads/master' && github.event_name == 
'push_request') && [11, 17] || [] }} 
       fail-fast: false
 
     steps:

Reply via email to