From 550f3299ffdea4962ae8de264973e948665c8970 Mon Sep 17 00:00:00 2001 From: "Kenneth J. Shackleton" Date: Fri, 16 Aug 2024 21:01:26 +0100 Subject: [PATCH] Switch to using the new OSSRH publication credential. Signed-off-by: Kenneth J. Shackleton --- .github/workflows/publication.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publication.yml b/.github/workflows/publication.yml index 33915c7a82..7be8b1e8b0 100644 --- a/.github/workflows/publication.yml +++ b/.github/workflows/publication.yml @@ -43,8 +43,8 @@ jobs: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_KEY }} ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.GPG_KEY_ID }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_KEY_PASSPHRASE }} - ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_PASSWORD }} - ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }} + ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_USER_TOKEN_PASSWORD }} + ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USER_TOKEN_USERNAME }} run: | ./gradlew \ publishMainPublicationToSonatypeRepository \ @@ -55,8 +55,8 @@ jobs: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_KEY }} ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.GPG_KEY_ID }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_KEY_PASSPHRASE }} - ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_PASSWORD }} - ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }} + ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_USER_TOKEN_PASSWORD }} + ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USER_TOKEN_USERNAME }} run: | ./gradlew \ -Prelease \