From a87577aad7712157364043985fc8fd18ff0e3eb5 Mon Sep 17 00:00:00 2001 From: Leonardo Colman Lopes Date: Sat, 19 Oct 2024 18:02:37 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Update=20Gradle=20environment=20?= =?UTF-8?q?variable=20names=20for=20Maven=20Central?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed the OSSRH credentials to be passed using Gradle-specific environment variables. This ensures compatibility with Gradle's expected property names for publishing artifacts. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce43895..2efc865 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: run: ./gradlew publish env: RELEASE_VERSION: ${{ github.event.inputs.version }} - OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} - OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }} + ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }} ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} \ No newline at end of file