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

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


The following commit(s) were added to refs/heads/master by this push:
     new 52cb516d Only need to run it on one OS
52cb516d is described below

commit 52cb516d756756d93d57ad63125a90d1881f833c
Author: Sebb <[email protected]>
AuthorDate: Fri Nov 10 00:08:03 2023 +0000

    Only need to run it on one OS
---
 .github/workflows/maven.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 536689c2..cf9c0374 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -130,7 +130,7 @@ jobs:
     - name: Check JNI and JNA tests are independent
       # N.B. the default library fails with 'java is loading libcrypto in an 
unsafe way'
       # so we need to define the appropriate library for each test
-      if: ${{ matrix.java == '8' }}
+      if: ${{ matrix.java == '8' && matrix.os == 'ubuntu-20.04' }}
       run: |
         mvn -V -B -ntp test -Ptestjni -D"jni.library.path=$ENGINESDIR"
         mvn -V -B -ntp test -Ptestjna -D"jna.library.path=$ENGINESDIR"

Reply via email to