Skip to content

Commit

Permalink
nexus-staging-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dkovacevic committed Sep 13, 2023
1 parent 8dcd402 commit f2bbf94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release to Maven Central

on:
workflow_dispatch:
release:
types: [ published ]
push:
tags:
- '*'

jobs:
tests:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
<dependencies>
Expand Down

0 comments on commit f2bbf94

Please sign in to comment.