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