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