From f2bbf9413844f9419b08b213b18d75a0d4f94252 Mon Sep 17 00:00:00 2001 From: Dejan Date: Wed, 13 Sep 2023 11:26:20 +0200 Subject: [PATCH] nexus-staging-maven-plugin --- .github/workflows/maven-release.yml | 7 ++++--- pom.xml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index fcb1366..c0e7310 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -1,9 +1,9 @@ name: Release to Maven Central on: - workflow_dispatch: - release: - types: [ published ] + push: + tags: + - '*' jobs: tests: @@ -74,6 +74,7 @@ jobs: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} + 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" # Send webhook to Wire using Slack Bot - name: Webhook to Wire diff --git a/pom.xml b/pom.xml index 56539f5..d22a427 100644 --- a/pom.xml +++ b/pom.xml @@ -162,7 +162,7 @@ true ossrh - https://s01.oss.sonatype.org/ + https://oss.sonatype.org/ true