mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +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:
parent
aa033bc2c1
commit
3c53361064
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user