File tree 3 files changed +12
-10
lines changed
3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
1
# 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"
4
4
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"
7
7
8
8
APPLE_ID = " op://Apple/3apcadvvcojjbpxnd7m5fgh5wm/username"
9
9
APPLE_ID_PASSWORD = " op://Apple/3apcadvvcojjbpxnd7m5fgh5wm/password"
Original file line number Diff line number Diff line change @@ -41,11 +41,13 @@ jobs:
41
41
42
42
- name : Build
43
43
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 }}
45
48
APPLE_ID : ${{ secrets.APPLE_NOTARYTOOL_USERNAME }}
46
49
APPLE_ID_PASSWORD : ${{ secrets.APPLE_NOTARYTOOL_PASSWORD }}
47
50
APP_PROF : ${{ secrets.CODER_DESKTOP_APP_PROVISIONPROFILE_B64 }}
48
- CERT_PASSWORD : ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_PASSWORD }}
49
51
EXT_PROF : ${{ secrets.CODER_DESKTOP_EXTENSION_PROVISIONPROFILE_B64 }}
50
52
run : make release
51
53
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ $(KEYCHAIN_FILE):
53
53
security set-keychain-settings -lut 21600 " $( APP_SIGNING_KEYCHAIN) "
54
54
security unlock-keychain -p " " " $( APP_SIGNING_KEYCHAIN) "
55
55
@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) " ; \
58
58
rm $$ tempfile
59
59
@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) " ; \
62
62
rm $$ tempfile
63
63
security list-keychains -d user -s $$(security list-keychains -d user | tr -d '\"' ) " $( APP_SIGNING_KEYCHAIN) "
64
64
You can’t perform that action at this time.
0 commit comments