Skip to content

Commit

Permalink
Fix os names in conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF authored Sep 9, 2023
1 parent 2fb8cd4 commit 76e8d92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 76e8d92

Please sign in to comment.