Skip to content

Commit 27336a7

Browse files
committed
Correctly configure setup of OSSRH credentials
1 parent c96593b commit 27336a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release-workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ jobs:
221221
run: |
222222
mvn nexus-staging:deploy-staged-repository -DrepositoryDirectory=nexus-staging -Prelease-build
223223
env:
224+
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
225+
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
224226
# Workaround for https://issues.sonatype.org/browse/OSSRH-66257
225227
# as described in https://stackoverflow.com/a/70157413
226228
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

0 commit comments

Comments
 (0)