Skip to content

Commit

Permalink
💚 Update Gradle environment variable names for Maven Central
Browse files Browse the repository at this point in the history
Changed the OSSRH credentials to be passed using Gradle-specific
environment variables. This ensures compatibility with Gradle's expected
 property names for publishing artifacts.
  • Loading branch information
LeoColman committed Oct 19, 2024
1 parent 08a6d13 commit a87577a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a87577a

Please sign in to comment.