Skip to content

Commit

Permalink
Update the addCredentails step
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrowlands committed Dec 5, 2023
1 parent e54952b commit 55bd723
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/doc_generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: |
gradle addCredentials --key sonatypeUsername --value '$SONATYPE_USERNAME'
gradle addCredentials --key sonatypePassword --value '$SONATYPE_PASSWORD'
gradle addCredentials --key sonatypeKeyPassword --value '$GPG_KEY_PASSWORD'
./gradlew addCredentials --key sonatypeUsername --value $SONATYPE_USERNAME
./gradlew addCredentials --key sonatypePassword --value $SONATYPE_PASSWORD
./gradlew addCredentials --key sonatypeKeyPassword --value $GPG_KEY_PASSWORD
- name: Create gradle.properties
env:
Expand All @@ -143,7 +143,9 @@ jobs:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
env:
GPG_KEY_IDB: ${{ secrets.GPG_KEY_ID }}
GPG_KEY_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

- name: Build Release Artifacts
env:
Expand Down

0 comments on commit 55bd723

Please sign in to comment.