File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11# Build a release locally using: op run --env-file="./.env" -- make release
2- APPLE_CERT = " op://Apple/Apple DeveloperID Application PKCS12 base64/notesPlain"
3- CERT_PASSWORD = " op://Apple/DeveloperID Application p12 password/password"
2+ APPLE_DEVELOPER_ID_PKCS12_B64 = " op://Apple/Apple DeveloperID Application PKCS12 base64/notesPlain"
3+ APPLE_DEVELOPER_ID_PKCS12_PASSWORD = " op://Apple/DeveloperID Application p12 password/password"
44
5- APPLE_INSTALLER_CERT = " op://Apple/Developer ID Installer PKCS12 base64/notesPlain"
6- INSTALLER_CERT_PASSWORD = " op://Apple/DeveloperID Installer Password/password"
5+ APPLE_INSTALLER_PKCS12_B64 = " op://Apple/Developer ID Installer PKCS12 base64/notesPlain"
6+ APPLE_INSTALLER_PKCS12_PASSWORD = " op://Apple/DeveloperID Installer Password/password"
77
88APPLE_ID = " op://Apple/3apcadvvcojjbpxnd7m5fgh5wm/username"
99APPLE_ID_PASSWORD = " op://Apple/3apcadvvcojjbpxnd7m5fgh5wm/password"
Original file line number Diff line number Diff line change @@ -41,11 +41,13 @@ jobs:
4141
4242 - name : Build
4343 env :
44- APPLE_CERT : ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_B64 }}
44+ APPLE_DEVELOPER_ID_PKCS12_B64 : ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_B64 }}
45+ APPLE_DEVELOPER_ID_PKCS12_PASSWORD : ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_PASSWORD }}
46+ APPLE_INSTALLER_PKCS12_B64 : ${{ secrets.APPLE_INSTALLER_PKCS12_PASSWORD }}
47+ APPLE_INSTALLER_PKCS12_PASSWORD : ${{ secrets.APPLE_INSTALLER_PKCS12_B64 }}
4548 APPLE_ID : ${{ secrets.APPLE_NOTARYTOOL_USERNAME }}
4649 APPLE_ID_PASSWORD : ${{ secrets.APPLE_NOTARYTOOL_PASSWORD }}
4750 APP_PROF : ${{ secrets.CODER_DESKTOP_APP_PROVISIONPROFILE_B64 }}
48- CERT_PASSWORD : ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_PASSWORD }}
4951 EXT_PROF : ${{ secrets.CODER_DESKTOP_EXTENSION_PROVISIONPROFILE_B64 }}
5052 run : make release
5153
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ $(KEYCHAIN_FILE):
5353 security set-keychain-settings -lut 21600 " $( APP_SIGNING_KEYCHAIN) "
5454 security unlock-keychain -p " " " $( APP_SIGNING_KEYCHAIN) "
5555 @tempfile=$$(mktemp ) ; \
56- echo " $$ APPLE_CERT " | base64 -d > $$ tempfile; \
57- security import $$ tempfile -P ' $(CERT_PASSWORD )' -A -t cert -f pkcs12 -k " $( APP_SIGNING_KEYCHAIN) " ; \
56+ echo " $$ APPLE_DEVELOPER_ID_PKCS12_B64 " | base64 -d > $$ tempfile; \
57+ security import $$ tempfile -P ' $(APPLE_DEVELOPER_ID_PKCS12_PASSWORD )' -A -t cert -f pkcs12 -k " $( APP_SIGNING_KEYCHAIN) " ; \
5858 rm $$ tempfile
5959 @tempfile=$$(mktemp ) ; \
60- echo " $$ APPLE_INSTALLER_CERT " | base64 -d > $$ tempfile; \
61- security import $$ tempfile -P ' $(INSTALLER_CERT_PASSWORD )' -A -t cert -f pkcs12 -k " $( APP_SIGNING_KEYCHAIN) " ; \
60+ echo " $$ APPLE_INSTALLER_PKCS12_B64 " | base64 -d > $$ tempfile; \
61+ security import $$ tempfile -P ' $(APPLE_INSTALLER_PKCS12_PASSWORD )' -A -t cert -f pkcs12 -k " $( APP_SIGNING_KEYCHAIN) " ; \
6262 rm $$ tempfile
6363 security list-keychains -d user -s $$(security list-keychains -d user | tr -d '\"' ) " $( APP_SIGNING_KEYCHAIN) "
6464
You can’t perform that action at this time.
0 commit comments