Skip to content

Commit

Permalink
pull secrets to env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
lijamie98 committed Dec 13, 2024
1 parent b6f6c9a commit a4eee66
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/on_release_created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ jobs:
distribution: 'adopt'

- name: Publish
run: ./gradlew clean publish
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_SIGNING_PASSWORD: ${{ secrets.GPG_SIGNING_PASSWORD }}
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
run: |
./gradlew clean publish
- name: Print test results
if: success() || failure()
Expand Down

0 comments on commit a4eee66

Please sign in to comment.