From fe661478062043469637b9d9b4f65e006460f615 Mon Sep 17 00:00:00 2001 From: matthew16550 Date: Thu, 9 Dec 2021 21:03:26 +1100 Subject: [PATCH] Fix snapshot release when workflow does not sign artifacts --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 362f14313..a81c57bfc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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}" \