From abc4ab5928748cff85d93db1c4ca77025f7517f6 Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Thu, 8 Aug 2024 13:47:09 +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 b3b498e00..0c430b197 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,6 @@ jobs: - name: Publish to the Maven Central Repository run: mvn --batch-mode deploy -Pdist -Prelease-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 }}