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

commit 1552b77ab46cf63feb154b984aa309cb5fc1ebad
Author: Sebb <s...@apache.org>
AuthorDate: Tue Jul 23 15:05:28 2024 +0100

    Try to find aes.h
---
 .github/workflows/adhoctest.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/adhoctest.yml b/.github/workflows/adhoctest.yml
index a8ad3b85..7a473791 100644
--- a/.github/workflows/adhoctest.yml
+++ b/.github/workflows/adhoctest.yml
@@ -34,7 +34,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        os: [windows-latest]
+        os: [macos-latest]
         # os: [macos-11, macos-12, macos-13, ubuntu-20.04, ubuntu-22.04]
       fail-fast: false
 
@@ -42,13 +42,13 @@ jobs:
     - name: OpenSSL version
       run: openssl version -a
     - name: Find libcrypto on Windows
-      if: ${{ startsWith(matrix.os,'windows') }}
+      if: ${{ runner.os == 'Windows' }}
       run: |
         dir "C:\Program Files\OpenSSL*\*"
         dir "C:\Program Files\OpenSSL*\lib\*"
-    - name: Find libcrypto on !Windows
-      if: ${{ ! startsWith(matrix.os,'windows') }}
+    - name: Find aes.h on !Windows
+      if: ${{ runner.os != 'Windows' }}
       run: |
         which -a openssl
-        find /usr -name libcrypto* -ls || true
+        find /usr -name aes.h -ls || true
         which -a openssl | while read a ;do echo "$a" ; "$a" version -a; echo 
'======='; done

Reply via email to