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 32800f25 Windows uses PowerShell [skip ci] 32800f25 is described below commit 32800f25b874a000fa24547db69e6f1c85bc5446 Author: Sebb <s...@apache.org> AuthorDate: Tue Oct 31 22:09:34 2023 +0000 Windows uses PowerShell [skip ci] --- .github/workflows/maven_adhoc.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven_adhoc.yml b/.github/workflows/maven_adhoc.yml index e7e84ab2..49ce1964 100644 --- a/.github/workflows/maven_adhoc.yml +++ b/.github/workflows/maven_adhoc.yml @@ -68,7 +68,9 @@ jobs: if: ${{ matrix.os == 'windows-latest' }} run: | openssl version -e - echo "ENGINESDIR=C:\Program Files\OpenSSL\lib\" >> "$GITHUB_ENV" + chcp 65001 #set code page to utf-8 + echo ("ENGINESDIR=C:\Program Files\OpenSSL\lib\") >> $env:GITHUB_ENV + (openssl version -e).replace('ENGINESDIR: "','').replace('engines-1_1','') - name: Build with Maven (not Windows) if: ${{ matrix.os != 'windows-latest' }} run: | @@ -84,8 +86,10 @@ jobs: env: OPENSSL_HOME: "C:\\Miniconda\\Library" run: | - $Env:ENGINESDIR - echo mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false -D"jni.library.path=$Env:ENGINESDIR" -D"jna.library.path=$Env:ENGINESDIR" + echo $env:ENGINESDIR + $env:ENGINESDIR = "C:\Program Files\OpenSSL\lib\" + echo $env:ENGINESDIR + echo mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false -D"jni.library.path=$env:ENGINESDIR" -D"jna.library.path=$env:ENGINESDIR" # - name: Run Crypto (JNI) # run: | # mvn --show-version --batch-mode --no-transfer-progress -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" -D"commons.crypto.debug=true"