From 3da1c9096d90560b31082c1e29ce99101bed8180 Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Thu, 8 Aug 2024 12:37:51 +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 eb99f136..1696829a 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 }}