Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ jobs:
export CSC_LINK="/tmp/certificate.p12"
export CSC_KEY_PASSWORD="${{ secrets.MACOS_CERTIFICATE_PWD }}"
fi

# Notarization credentials (optional - will skip if not provided)
if [ -n "${{ secrets.AC_APIKEY_ID }}" ]; then
# Decode API key to file
echo "${{ secrets.AC_APIKEY_P8_BASE64 }}" | base64 -D > /tmp/AuthKey.p8
export APPLE_API_KEY="/tmp/AuthKey.p8"
export APPLE_API_KEY_ID="${{ secrets.AC_APIKEY_ID }}"
export APPLE_API_ISSUER="${{ secrets.AC_APIKEY_ISSUER_ID }}"
echo "βœ… Notarization credentials found (API key) - will notarize"
else
echo "⚠️ No notarization credentials - skipping notarization"
fi

bun run dist:mac

- name: Upload macOS DMG (x64)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
"entitlementsInherit": "build/entitlements.mac.plist",
"notarize": true
},
"linux": {
"target": "AppImage",
Expand Down