Skip to content

Commit 981ee3c

Browse files
authored
Merge pull request #178 from rees46/fix/DEV-199
DEV-199: use OSSRH_USERNAME and OSSRH_PASSWORD secrets for GitHub Pac…
2 parents c9067b5 + 1c87882 commit 981ee3c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ jobs:
5454
- name: Configure gradle.properties for GitHub Packages
5555
run: |
5656
echo "github=true" >> gradle.properties
57-
echo "ossrhUsername=${{ github.repository_owner }}" >> gradle.properties
58-
echo "ossrhPassword=${{ steps.app-token.outputs.token }}" >> gradle.properties
57+
# Use the same OSSRH credentials that were used before (GitHub credentials)
58+
echo "ossrhUsername=${{ secrets.OSSRH_USERNAME }}" >> gradle.properties
59+
echo "ossrhPassword=${{ secrets.OSSRH_PASSWORD }}" >> gradle.properties
5960
echo "signing_keyId=${{ secrets.SIGNING_KEY_ID }}" >> gradle.properties
6061
echo "signing_password=${{ secrets.SIGNING_PASSWORD }}" >> gradle.properties
6162
echo "signing_secretKeyRingFile=com.rees46.key.gpg" >> gradle.properties

0 commit comments

Comments
 (0)