Skip to content

Commit

Permalink
Updated secrets for publishing to maven central (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fgerthoffert authored Jul 30, 2024
1 parent 5acf120 commit a810d76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- name: Publish with Gradle
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USERTOKEN_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_USERTOKEN_PASSWORD }}
MAVEN_CENTRAL_PGP_KEY: ${{ secrets.MAVEN_CENTRAL_PGP_KEY }}
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ afterReleaseBuild.dependsOn nexusPublishing
nexusPublishing {
repositories {
sonatype {
username = System.getenv("MAVEN_CENTRAL_USER")
password = System.getenv("MAVEN_CENTRAL_PASSWORD")
username = System.getenv("MAVEN_CENTRAL_USERTOKEN_USERNAME")
password = System.getenv("MAVEN_CENTRAL_USERTOKEN_PASSWORD")
}
}
}
Expand Down

0 comments on commit a810d76

Please sign in to comment.