From af7caed6a32ba37fb3cb050dd7b7ba5f085411f2 Mon Sep 17 00:00:00 2001 From: Angel Borroy <48685308+aborroy@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:20:01 +0200 Subject: [PATCH] Update maven-deploy.yml --- .github/workflows/maven-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-deploy.yml b/.github/workflows/maven-deploy.yml index c76d5ee..61ddaf3 100644 --- a/.github/workflows/maven-deploy.yml +++ b/.github/workflows/maven-deploy.yml @@ -56,6 +56,7 @@ jobs: GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }} MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }} - MAVEN_OPTS: --add-opens java.base/java.util=ALL-UNNAMED + # https://github.com/maricn/logback-slack-appender/issues/31 + MAVEN_OPTS: --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED run: mvn clean deploy -PmavenCentral -DskipTests --settings /home/runner/.m2/settings.xml -Dgpg.passphrase=${{ secrets.GPG_SIGNING_PASSPHRASE }}