Skip to content

Commit 28e187e

Browse files
committed
Use correct secret names for App Store Connect API key
- AC_APIKEY_ID - AC_APIKEY_ISSUER_ID - AC_APIKEY_P8_BASE64 (decoded to /tmp/AuthKey.p8) _Generated with `cmux`_
1 parent aa31a52 commit 28e187e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)