Update publish.yml

This commit is contained in:
Christian Torbidone 2024-07-19 16:24:20 +02:00 committed by GitHub
parent bb3a1e7707
commit eb763ff0fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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