File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,12 @@ jobs:
3636 fi
3737
3838 # Notarization credentials (optional - will skip if not provided)
39- if [ -n "${{ secrets.APPLE_API_KEY_ID }}" ]; then
40- export API_KEY_ID="${{ secrets.APPLE_API_KEY_ID }}"
41- export API_KEY_ISSUER_ID="${{ secrets.APPLE_API_ISSUER_ID }}"
42- export API_KEY="${{ secrets.APPLE_API_KEY }}"
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 API_KEY_ID="${{ secrets.AC_APIKEY_ID }}"
43+ export API_KEY_ISSUER_ID="${{ secrets.AC_APIKEY_ISSUER_ID }}"
44+ export API_KEY="/tmp/AuthKey.p8"
4345 echo "✅ Notarization credentials found (API key) - will notarize"
4446 else
4547 echo "⚠️ No notarization credentials - skipping notarization"
You can’t perform that action at this time.
0 commit comments