Skip to content

Commit

Permalink
Update maven-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aborroy authored Aug 21, 2024
1 parent 7184952 commit af7caed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit af7caed

Please sign in to comment.