1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 02:49:06 +00:00

fix: missing signature in OSSRH publication (#1313)

Adding `signingKey` and `signingPassword`properties when calling gradle publication tasks from the CI workflow fix the bug.

Fixes: #1313
This commit is contained in:
Eric Vantillard 2023-03-08 22:40:21 +01:00
parent aa033bc2c1
commit 3c53361064

View File

@ -155,6 +155,9 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
#do not remove signing key and password or signatures will not be published
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
run: |
.github/scripts/release-snapshot.sh
gradle publish
@ -166,6 +169,9 @@ jobs:
TAG: ${{ github.event.ref }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
#do not remove signing key and password or signatures will not be published
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
run: |
.github/scripts/release.sh
gradle publish