Fix snapshot release when workflow does not sign artifacts

This commit is contained in:
matthew16550 2021-12-09 21:03:26 +11:00
parent 2c983b715a
commit fe66147806
1 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,8 @@ jobs:
GPG_KEYNAME: ${{ steps.gpg.outputs.key_id }}
GPG_PASSPHRASE: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
run: |
[[ "${SIGN_ARTIFACTS}" == "true" ]] || cp pom.xml target/plantuml.pom
mvn --batch-mode \
"-DfinalName=plantuml" \
"-Dgpg.keyname=${GPG_KEYNAME}" \