GitHub workflows: sign also CI if key avail. [mac]

This commit is contained in:
Martin Pulec
2020-03-27 14:44:16 +01:00
parent 3010b8cba5
commit a61a4dc16e
2 changed files with 13 additions and 3 deletions

View File

@@ -11,7 +11,11 @@ DEVELOPER_USERNAME=martin.pulec@cesnet.cz
if [ -z "$apple_key_p12_b64" -o -z "$altool_pass" ]; then
echo "Could not find key to sign the application" 2>&1
exit 1
if [ "$GITHUB_WORKFLOW" = nightly ]; then
exit 1
else
exit 0
fi
fi
# Import keys