Skip to content

Commit

Permalink
Pass env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Aug 15, 2024
1 parent b9e1db6 commit a322c6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:

- name: Stage the package
run: ./gradlew publish
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Publish to Maven Central
run: ./gradlew publish
env:
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}

0 comments on commit a322c6b

Please sign in to comment.