Skip to content

Commit

Permalink
update release credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilveirah committed Jun 19, 2024
1 parent da668f9 commit 4fc864c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
- name: Publish to MavenCentral
run: ./gradlew publishReleasePublicationToSonatypeRepository #--max-workers 1 closeAndReleaseRepository --info
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_USERNAME: ${{ secrets.OSSRH_TOKEN_USER }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
Expand Down Expand Up @@ -142,4 +142,4 @@ jobs:
uses: actions/upload-artifact@v2-preview
with:
name: MetaAppDebug
path: samples/metaapp/build/outputs/apk/debug/metaapp-debug.apk
path: samples/metaapp/build/outputs/apk/debug/metaapp-debug.apk
6 changes: 3 additions & 3 deletions scripts/publish-mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ if (secretPropsFile.exists()) {
ext["signing.keyId"] = System.getenv('SIGNING_KEY_ID')
ext["signing.password"] = System.getenv('SIGNING_PASSWORD')
ext["signing.secretKeyRingFile"] = rootDir.path + "/" + System.getenv('SIGNING_SECRET_KEY_RING_FILE')
ext["ossrhUsername"] = System.getenv('OSSRH_USERNAME')
ext["ossrhPassword"] = System.getenv('OSSRH_PASSWORD')
ext["ossrhUsername"] = System.getenv('OSSRH_TOKEN_USER')
ext["ossrhPassword"] = System.getenv('OSSRH_TOKEN_PASSWORD')
}

publishing {
Expand Down Expand Up @@ -128,4 +128,4 @@ nexusStaging {

signing {
sign publishing.publications
}
}

0 comments on commit 4fc864c

Please sign in to comment.