From 471f645b781c86368c8373cf48db7612090a8fde Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Mon, 18 Mar 2024 09:23:46 -0700 Subject: Fix: Export opts as env variables in maven GHA workflow Issue-ID: CIMAN-33 Change-Id: Id1148421ea3fda485c8b4e05797af6aade7a4b47 Signed-off-by: Jessica Wagantall --- .github/workflows/gerrit-merge.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/gerrit-merge.yaml b/.github/workflows/gerrit-merge.yaml index 7102e1864..9961b2b3b 100644 --- a/.github/workflows/gerrit-merge.yaml +++ b/.github/workflows/gerrit-merge.yaml @@ -81,7 +81,7 @@ jobs: GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }} GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }} # yamllint disable rule:line-length - ENV_VARS: "{}" + ENV_VARS: "{MAVEN_OPTS: --add-opens=java.base/java.util=ALL-UNNAMED}" ENV_SECRETS: "{}" JDK_VERSION: "17" MVN_PHASES: "clean install dependency:tree com.sonatype.clm:clm-maven-plugin:2.41.0-02:index" @@ -89,7 +89,6 @@ jobs: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DaltDeploymentRepository=staging::default::file:"${GITHUB_WORKSPACE}"/m2repo - -DMAVEN_OPTS=--add-opens=java.base/java.util=ALL-UNNAMED secrets: NEXUS_IQ_PASSWORD: ${{ secrets.NEXUS_IQ_PASSWORD }} -- cgit 1.2.3-korg