Skip to content

Commit 97bc613

Browse files
committed
Sign iOS development builds with developer key.
1 parent 44289b9 commit 97bc613

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-apps.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,14 @@ jobs:
158158
run: |
159159
# create variables
160160
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.cer
161+
DEV_CERTIFICATE_PATH=$RUNNER_TEMP/dev_certificate.cer
161162
PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision
162163
PP_DEV_PATH=$RUNNER_TEMP/dev_pp.mobileprovision
163164
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
164165
165166
# import certificate and provisioning profile from secrets
166167
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
168+
echo -n "$BUILD_DEV_CERTIFICATE_BASE64" | base64 --decode -o $DEV_CERTIFICATE_PATH
167169
echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_PATH
168170
echo -n "$BUILD_DEV_PROVISION_PROFILE_BASE64" | base64 --decode -o $PP_DEV_PATH
169171
@@ -174,6 +176,7 @@ jobs:
174176
175177
# import certificate to keychain
176178
security import $CERTIFICATE_PATH -P "$BUILD_CERTIFICATE_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
179+
security import $DEV_CERTIFICATE_PATH -P "$BUILD_CERTIFICATE_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
177180
security set-key-partition-list -S apple-tool:,apple: -k "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
178181
security list-keychain -d user -s $KEYCHAIN_PATH
179182

0 commit comments

Comments
 (0)