Assert release & nightly builds are signed, notarised & accessible before deployment (#559)

This commit is contained in:
Michael Telatynski
2023-03-06 08:56:49 +00:00
committed by GitHub
parent 383793640d
commit 126d2c336b
3 changed files with 36 additions and 2 deletions

View File

@@ -88,6 +88,14 @@ jobs:
CSC_KEY_PASSWORD: ${{ secrets.APPLE_CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.APPLE_CSC_LINK }}
- name: Check app was signed & notarised successfully
if: inputs.sign != ''
run: |
hdiutil attach dist/*.dmg
codesign -dv --verbose=4 /Volumes/Element*/*.app
spctl -a -vvv -t install /Volumes/Element*/*.app
hdiutil detach /Volumes/Element*
- name: "[Unsigned] Build App"
if: inputs.sign == ''
run: |