Skip to content

Commit a87577a

Browse files
committed
💚 Update Gradle environment variable names for Maven Central
Changed the OSSRH credentials to be passed using Gradle-specific environment variables. This ensures compatibility with Gradle's expected property names for publishing artifacts.
1 parent 08a6d13 commit a87577a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: ./gradlew publish
2222
env:
2323
RELEASE_VERSION: ${{ github.event.inputs.version }}
24-
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
25-
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
24+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
25+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
2626
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
2727
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}

0 commit comments

Comments
 (0)