You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(macos): derive signing identity from keychain after cert import
Avoid Tauri mismatch when APPLE_SIGNING_IDENTITY secret differs from the .p12 (e.g. Mac Developer ID vs Developer ID with team). Stop passing APPLE_CERTIFICATE to tauri-action since import-codesign-certs already loads the p12.
Made-with: Cursor
# Identity must match the .p12 exactly. Derive from the keychain after import so it cannot drift from the APPLE_SIGNING_IDENTITY secret (e.g. "Mac Developer ID..." vs "Developer ID ... (TEAM)").
91
+
- name: Set APPLE_SIGNING_IDENTITY from imported certificate
92
+
if: matrix.platform == 'macos-latest'
93
+
run: |
94
+
security find-identity -v -p codesigning
95
+
ID=$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | awk -F'"' '{print $2}')
96
+
if [ -z "$ID" ]; then
97
+
echo "No Developer ID Application identity found after import."
0 commit comments