From 76e8d926bbca624eecd736a867e99c198929d87a Mon Sep 17 00:00:00 2001 From: sebbASF Date: Sat, 9 Sep 2023 10:25:53 +0100 Subject: [PATCH] Fix os names in conditions --- .github/workflows/maven.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b78975703..9e7c7b364 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -37,6 +37,7 @@ jobs: matrix: # macos-latest and ubuntu-latest uses OpenSSL 3 which breaks tests os: [macos-11, ubuntu-20.04, windows-latest] + # N.B. these names are used in conditional statements below. java: [ 8, 11, 17 ] experimental: [false] # include: @@ -82,11 +83,11 @@ jobs: run: | mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" - name: Run Crypto (JNI - macOS) - if: ${{ matrix.os == 'macos-latest' }} + if: ${{ matrix.os == 'macos-11' }} run: | mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" -D"jni.library.path=/usr/local/miniconda/lib" - name: Run OpenSslJna (JNA - macOS) - if: ${{ matrix.os == 'macos-latest' }} + if: ${{ matrix.os == 'macos-11' }} run: | mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=/usr/local/miniconda/lib" - name: Run OpenSslJna (JNA - Ubuntu)