build: attempt to fix mas 27

This commit is contained in:
johannesjo 2025-11-10 15:40:02 +01:00
parent e4373b52da
commit 73ea2bcae3
3 changed files with 6 additions and 4 deletions

View file

@ -135,8 +135,6 @@ jobs:
run: npm run build
- name: Build Electron app
env:
CSC_NAME: '3rd Party Mac Developer Application: Johannes Millan (363FAFK383)'
run: npm run dist:mac:mas:buildOnly
- name: Verify code signing used in built app

View file

@ -123,7 +123,12 @@ jobs:
APP_PATH="$MOUNT_POINT/Super Productivity.app"
/usr/bin/codesign --verify --deep --strict --verbose=4 "$APP_PATH"
spctl --assess --verbose "$APP_PATH"
/usr/bin/codesign -dv "$APP_PATH" 2>&1 | grep Authority
AUTHORITY_OUTPUT=$(/usr/bin/codesign -dv "$APP_PATH" 2>&1 | grep Authority || true)
if [ -n "$AUTHORITY_OUTPUT" ]; then
echo "$AUTHORITY_OUTPUT"
else
echo "No Authority lines found in codesign -dv output"
fi
- name: Upload DMG artifact
uses: actions/upload-artifact@v5