File tree Expand file tree Collapse file tree 5 files changed +26
-178
lines changed Expand file tree Collapse file tree 5 files changed +26
-178
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,23 @@ jobs:
30
30
31
31
- run : npm ci
32
32
33
+ # The API key in APPLE_API_KEY is a PEM cert that must be read from disk:
34
+ - run : echo "$APPLE_API_KEY" > ./apple-api-key.p8
35
+ if : matrix.os == 'macos-11'
36
+ env :
37
+ APPLE_API_KEY : ${{ secrets.APPLE_API_KEY }}
38
+
33
39
- run : npm run build
34
40
env :
35
41
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
- APPLE_ID : ${{ secrets.APPLE_ID }}
37
- APPLE_ID_PASSWORD : ${{ secrets.APPLE_ID_PASSWORD }}
42
+ # For Mac notarization:
43
+ APPLE_API_ISSUER : ${{ secrets.APPLE_API_ISSUER }}
44
+ APPLE_API_KEY_ID : ${{ secrets.APPLE_API_KEY_ID }}
45
+ APPLE_API_KEY : ./apple-api-key.p8
46
+ # For Mac signing:
38
47
CSC_LINK : ${{ secrets.CSC_LINK }}
39
48
CSC_KEY_PASSWORD : ${{ secrets.CSC_KEY_PASSWORD }}
49
+ # For Windows signing:
40
50
WIN_CSC_LINK : ${{ secrets.WIN_CSC_LINK }}
41
51
WIN_CSC_KEY_PASSWORD : ${{ secrets.WIN_CSC_KEY_PASSWORD }}
42
52
Original file line number Diff line number Diff line change 61
61
"icon" : " src/icons/icon.icns" ,
62
62
"entitlements" : " src/entitlements.plist" ,
63
63
"entitlementsInherit" : " src/entitlements.plist" ,
64
- "forceCodeSigning" : false ,
65
- "notarize" : false
64
+ "forceCodeSigning" : true ,
65
+ "notarize" : true
66
66
},
67
67
"dmg" : {
68
68
"artifactName" : " HttpToolkit-${version}.dmg"
119
119
"appImage" : {
120
120
"artifactName" : " HttpToolkit-${version}.AppImage"
121
121
},
122
- "afterSign" : " ./src/hooks/after-sign.js" ,
123
122
"publish" : null
124
123
},
125
124
"dependencies" : {
148
147
"cross-env" : " ^7.0.3" ,
149
148
"electron" : " ^22.3.26" ,
150
149
"electron-builder" : " ^24.13.3" ,
151
- "electron-notarize" : " ^1.0.0" ,
152
150
"lodash" : " ^4.17.21" ,
153
151
"node-fetch" : " ^2.6.7" ,
154
152
"targz" : " ^1.0.1" ,
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments