Skip to content

Commit

Permalink
Windows needs different property names
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Nov 6, 2023
1 parent e51a925 commit a615f2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ jobs:
# N.B. This must *not* be run under the bash shell, as that changes the default openssl library under Windows
env:
OPENSSL_HOME: "C:\\Miniconda\\Library"
NAME: "libcrypto-1_1-x64"
run: |
mvn -V -B -ntp -DtrimStackTrace=false -D"jni.library.path=$env:ENGINESDIR" -D"jna.library.path=$env:ENGINESDIR" -D"commons.crypto.openssl.check=$env:CHECK_SKIP"
mvn -V -B -ntp -DtrimStackTrace=false -D"jni.library.name=$env:NAME" -D"commons.crypto.OpenSslNativeJna=$env:NAME" -D"commons.crypto.openssl.check=$env:CHECK_SKIP"
- name: Build with Maven (not Windows)
if: ${{ matrix.os != 'windows-latest' }}
run: |
Expand Down

0 comments on commit a615f2e

Please sign in to comment.