1
0
mirror of https://github.com/octoleo/plantuml.git synced 2025-01-03 07:12:29 +00:00

sign step checks environment var from gpg step

This commit is contained in:
soloturn 2022-02-11 12:43:44 +01:00
parent e8e923d8e2
commit fc674de09f

View File

@ -117,7 +117,7 @@ jobs:
echo "::set-output name=key_id::${key_id}" echo "::set-output name=key_id::${key_id}"
- name: Sign artifacts - name: Sign artifacts
if: matrix.release_from_this_build && env.ARTIFACT_SIGNING_KEY if: matrix.release_from_this_build && env.GPG_KEYNAME
env: env:
GPG_KEYNAME: ${{ steps.gpg.outputs.key_id }} GPG_KEYNAME: ${{ steps.gpg.outputs.key_id }}
GPG_PASSPHRASE: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }} GPG_PASSPHRASE: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}