[commons-crypto] branch master updated: Try to set argline conditionally

2022-06-26 Thread sebb
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 583bbfe  Try to set argline conditionally
583bbfe is described below

commit 583bbfecd7401f5a8392bb86d20352ea65346536
Author: Sebb 
AuthorDate: Mon Jun 27 00:45:07 2022 +0100

Try to set argline conditionally
---
 .github/workflows/maven.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b5ecb2e..edd0608 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -63,9 +63,10 @@ jobs:
 - name: OpenSSL version
   run: openssl version
 - name: Set argline
-  if: ${{ matrix.java != '8' }}
+  run: echo $argLine
   env:
 argLine: -DargLine="--illegal-access=deny"
+  if: ${{ matrix.java != '8' }}
 - name: Build with Maven
   # OPENSSL_HOME is needed for Windows build; not used by other builds so 
can set unconditionally
   # It's not clear how one is supposed to find the correct setting;



[commons-crypto] branch master updated: Try to set argline conditionally

2022-06-26 Thread sebb
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 44d7741  Try to set argline conditionally
44d7741 is described below

commit 44d774186ada235f4613b611f63c5dd351617c07
Author: Sebb 
AuthorDate: Mon Jun 27 00:40:08 2022 +0100

Try to set argline conditionally
---
 .github/workflows/maven.yml | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b162b80..b5ecb2e 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -62,6 +62,10 @@ jobs:
 java-version: ${{ matrix.java }}
 - name: OpenSSL version
   run: openssl version
+- name: Set argline
+  if: ${{ matrix.java != '8' }}
+  env:
+argLine: -DargLine="--illegal-access=deny"
 - name: Build with Maven
   # OPENSSL_HOME is needed for Windows build; not used by other builds so 
can set unconditionally
   # It's not clear how one is supposed to find the correct setting;
@@ -72,4 +76,4 @@ jobs:
   env:
 OPENSSL_HOME: "C:\\Miniconda\\Library"
   # Temporarily add  -DargLine="--illegal-access=deny" to avoid native 
output crash
-  run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false 
-DargLine="--illegal-access=deny"
+  run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false 
$argLine