From 3acd361c215e4bae5c0c2a49178580d581e936ef Mon Sep 17 00:00:00 2001 From: Arun Kumar Date: Thu, 8 Aug 2024 12:30:41 +0530 Subject: [PATCH] Use of token to publish artifacts --- .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 a2cf9e58..ffe30336 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,5 +17,5 @@ jobs: - name: Publish package run: mvn --batch-mode deploy env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} \ No newline at end of file + MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}