Skip to content

Commit 4cd0db5

Browse files
zeevmoneyclaude
andcommitted
Use NEXUS_TOKEN secrets for Maven Central publishing
The NEXUS_TOKEN_* secrets contain the Central Portal token credentials. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8b8231c commit 4cd0db5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ jobs:
4040
- name: Publish to Maven Central
4141
run: ./gradlew publishAndReleaseToMavenCentral
4242
env:
43-
# The "OSSRH_*" varaibles were created before this project migrated to Maven Central.
44-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
45-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
43+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.NEXUS_TOKEN_USERNAME }}
44+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.NEXUS_TOKEN_PASSWORD }}
4645
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }}
4746
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SIGNING_PASSPHRASE }}

0 commit comments

Comments
 (0)