diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b54ea1b0..5b348af0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,5 +28,5 @@ jobs: - name: Publish to MavenCentral run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository env: - OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} - OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} + OSSRH_TOKEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}