From 21317b3048c03eb840f857173918c60e38e3b18c Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Thu, 8 Aug 2024 13:37:51 +0530 Subject: [PATCH] Use of token to publish artifacts for snapshot release --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ae302294b..024a19258 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,6 @@ jobs: - name: Publish package run: mvn --batch-mode deploy -Pdist env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}