From b681fbb652f55226e64da3e9ab47d624d7afde46 Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Thu, 8 Aug 2024 13:35:58 +0530 Subject: [PATCH] Use of token to publish artifacts for release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc2e514..c610ec1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Publish to the Maven Central Repository run: mvn --batch-mode deploy -P release-sign-artifacts env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}