Skip to content

Commit

Permalink
Fix GitHub publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonlee committed Nov 4, 2023
1 parent 8aac73a commit 6e3d55d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,19 @@ jobs:
-Pversion=${GITHUB_REF/refs\/tags\/v/} \
-POSSRH_USERNAME=${OSSRH_USERNAME} \
-POSSRH_PASSWORD=${OSSRH_PASSWORD} \
-POSSRH_PACKAGE_GROUP=${OSSRH_PACKAGE_GROUP} \
-Psigning.keyId=${GPG_KEY_ID} \
-Psigning.password=${GPG_PASSPHRASE} \
-Psigning.secretKeyRingFile=${GITHUB_WORKSPACE}/secring.gpg
./gradlew closeAndReleaseRepository -S --no-daemon \
-Pversion=${GITHUB_REF/refs\/tags\/v/} \
-POSSRH_USERNAME=${OSSRH_USERNAME} \
-POSSRH_PASSWORD=${OSSRH_PASSWORD} \
--no-daemon
-POSSRH_PACKAGE_GROUP=${OSSRH_PACKAGE_GROUP}
env:
GPG_KEY_ARMOR: ${{ secrets.GPG_KEY_ARMOR }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PACKAGE_GROUP: ${{ secrets.OSSRH_PACKAGE_GROUP }}

0 comments on commit 6e3d55d

Please sign in to comment.