File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 3434 export CSC_LINK="/tmp/certificate.p12"
3535 export CSC_KEY_PASSWORD="${{ secrets.MACOS_CERTIFICATE_PWD }}"
3636 fi
37+
38+ # Notarization credentials (optional - will skip if not provided)
39+ if [ -n "${{ secrets.AC_APIKEY_ID }}" ]; then
40+ # Decode API key to file
41+ echo "${{ secrets.AC_APIKEY_P8_BASE64 }}" | base64 -D > /tmp/AuthKey.p8
42+ export APPLE_API_KEY="/tmp/AuthKey.p8"
43+ export APPLE_API_KEY_ID="${{ secrets.AC_APIKEY_ID }}"
44+ export APPLE_API_ISSUER="${{ secrets.AC_APIKEY_ISSUER_ID }}"
45+ echo "✅ Notarization credentials found (API key) - will notarize"
46+ else
47+ echo "⚠️ No notarization credentials - skipping notarization"
48+ fi
49+
3750 bun run dist:mac
3851
3952 - name : Upload macOS DMG (x64)
Original file line number Diff line number Diff line change 123123 "hardenedRuntime" : true ,
124124 "gatekeeperAssess" : false ,
125125 "entitlements" : " build/entitlements.mac.plist" ,
126- "entitlementsInherit" : " build/entitlements.mac.plist"
126+ "entitlementsInherit" : " build/entitlements.mac.plist" ,
127+ "notarize" : true
127128 },
128129 "linux" : {
129130 "target" : " AppImage" ,
You can’t perform that action at this time.
0 commit comments