Skip to content

Commit

Permalink
ci: setting secrets in run command
Browse files Browse the repository at this point in the history
  • Loading branch information
janniclas committed Oct 24, 2024
1 parent 62b1b81 commit c349334
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:

- name: Publish to OSSRH
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: '${{ secrets.SONATYPE_USER }}'
ORG_GRADLE_PROJECT_mavenCentralPassword: '${{ secrets.SONATYPE_PW }}'
ORG_GRADLE_PROJECT_signingKey: '${{ secrets.GPG_PRIVATE_KEY }}'
ORG_GRADLE_PROJECT_signingPassword: '${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}'
run: ./gradlew publish
ossrhUsername: ${{ secrets.SONATYPE_USER }}
ossrhPassword: ${{ secrets.SONATYPE_PW }}
pgpKey: ${{ secrets.GPG_PRIVATE_KEY }}
pgpPassphrase: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
run: ./gradlew -PmavenCentralUsername="$ossrhUsername" -PmavenCentralPassword="$ossrhPassword" -PsigningKey="$pgpKey" -PsigningPassword="$pgpPassphrase" publish

- name: Generate Release Notes
run: ./gradlew -q printChangeLog > RELEASE_NOTES.md
Expand Down

0 comments on commit c349334

Please sign in to comment.