Skip to content

Commit 10ee41a

Browse files
pajowuanuejn
authored andcommitted
1 parent ed2389d commit 10ee41a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/import_cert.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ security default-keychain -s build.keychain
66
security unlock-keychain -p "$MAC_KEY_PASSWORD" build.keychain
77

88
echo "Importing key"
9-
security import <(echo $MAC_KEY | base64 -d) -P "$MAC_KEY_PASSWORD" -f pkcs12
9+
echo $MAC_KEY | base64 -d > key.cer
10+
security import key.cer -P "$MAC_KEY_PASSWORD" -f pkcs12
11+
rm key.cer
1012

1113
echo "Trusting Certificate"
1214
# Using sudo because overwriting trust settings would require interactive password input

0 commit comments

Comments
 (0)