From bc3b9e6ab0e2da67e525a8fa206f94df8d89a55a Mon Sep 17 00:00:00 2001 From: Kamo Spertsyan Date: Fri, 5 Jul 2024 15:34:04 +0300 Subject: [PATCH] Sonatype scripts fixed --- .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 b54ea1b04..5b348af01 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 }}