From eb763ff0fbb3c9bd7a2aa96a093e9b8ad8be3cb9 Mon Sep 17 00:00:00 2001 From: Christian Torbidone <73131550+killerbossoriginal@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:24:20 +0200 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 83aae2e..0ecabf8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,7 +41,7 @@ jobs: run: ./gradlew publish env: MAVEN_USERNAME: ${{ github.actor }} - MAVEN_PASSWORD: ${{ secrets.GPJ_PASSWORD }} + MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} SIGNING_KEY: ${{ secrets.SIGNING_KEY }} @@ -49,13 +49,6 @@ jobs: - name: Prepare NPM Package run: ./gradlew prepareNpmPublication - env: - MAVEN_USERNAME: ${{ github.actor }} - MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} - OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} - SIGNING_KEY: ${{ secrets.SIGNING_KEY }} - SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} # Setup .npmrc file to publish to npm - uses: actions/setup-node@v4