mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
fix: fail fast when mac installer cert identity is missing
This commit is contained in:
1 parent
99506899da
commit
86befa4977
1 file changed
+14
@@ -468,6 +468,13 @@ jobs:
|
|||||||
|
|
||||||
security find-identity -v -p codesigning $KEYCHAIN_PATH
|
security find-identity -v -p codesigning $KEYCHAIN_PATH
|
||||||
|
|
||||||
|
if ! security find-identity -v -p codesigning $KEYCHAIN_PATH | grep -q "3rd Party Mac Developer Installer"; then
|
||||||
|
echo "No '3rd Party Mac Developer Installer' identity found in the keychain."
|
||||||
|
echo "electron-builder needs this to wrap the signed .app into a .pkg for MAS."
|
||||||
|
echo "Check that MAC_INSTALLER_CERTIFICATE_BASE64 holds a valid, non-expired installer cert."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Build macOS App Store Package
|
- name: Build macOS App Store Package
|
||||||
if: steps.check_certs.outputs.has_certs == 'true'
|
if: steps.check_certs.outputs.has_certs == 'true'
|
||||||
env:
|
env:
|
||||||
@@ -1066,6 +1073,13 @@ jobs:
|
|||||||
|
|
||||||
security find-identity -v -p codesigning $KEYCHAIN_PATH
|
security find-identity -v -p codesigning $KEYCHAIN_PATH
|
||||||
|
|
||||||
|
if ! security find-identity -v -p codesigning $KEYCHAIN_PATH | grep -q "3rd Party Mac Developer Installer"; then
|
||||||
|
echo "No '3rd Party Mac Developer Installer' identity found in the keychain."
|
||||||
|
echo "electron-builder needs this to wrap the signed .app into a .pkg for MAS."
|
||||||
|
echo "Check that MAC_INSTALLER_CERTIFICATE_BASE64 holds a valid, non-expired installer cert."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Check for App Store Connect API credentials
|
- name: Check for App Store Connect API credentials
|
||||||
id: check_asc_creds
|
id: check_asc_creds
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user