File tree Expand file tree Collapse file tree 3 files changed +45
-1
lines changed
Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,19 @@ jobs:
207207 name : compiled-${{ matrix.os }}
208208 path : build
209209
210+ - name : Setup Code Signing (macOS)
211+ if : runner.os == 'macOS' && github.event_name != 'pull_request'
212+ run : |
213+ # Code signing
214+ echo 'CSC_LINK=${{ secrets.APPLE_CERT }}' >> $GITHUB_ENV
215+ echo 'CSC_KEY_PASSWORD=${{ secrets.APPLE_CERT_PASSWORD }}' >> $GITHUB_ENV
216+ # Notarization
217+ mkdir -p ~/private_keys/
218+ echo '${{ secrets.APPLE_API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8
219+ echo 'APPLE_API_KEY=~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8' >> $GITHUB_ENV
220+ echo 'APPLE_API_KEY_ID=${{ secrets.APPLE_API_KEY_ID }}' >> $GITHUB_ENV
221+ echo 'APPLE_API_ISSUER=${{ secrets.APPLE_API_ISSUER_ID }}' >> $GITHUB_ENV
222+
210223 - name : Build
211224 run : yarn run pack
212225
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >com.apple.security.network.client </key >
6+ <true />
7+ <key >com.apple.security.network.server </key >
8+ <true />
9+ <key >com.apple.security.files.user-selected.read-write </key >
10+ <true />
11+ <key >com.apple.security.cs.allow-jit </key >
12+ <true />
13+ <key >com.apple.security.cs.allow-unsigned-executable-memory </key >
14+ <true />
15+ <key >com.apple.security.cs.disable-library-validation </key >
16+ <true />
17+ <key >com.apple.security.device.usb </key >
18+ <true />
19+ </dict >
20+ </plist >
Original file line number Diff line number Diff line change 88 "productName" : " EdgeTX Buddy" ,
99 "appId" : " org.edgetx.buddy" ,
1010 "mac" : {
11+ "hardenedRuntime" : true ,
12+ "entitlements" : " ./entitlements.mac.plist" ,
13+ "target" : [
14+ {
15+ "target" : " dmg" ,
16+ "arch" : [
17+ " x64" ,
18+ " arm64"
19+ ]
20+ }
21+ ],
1122 "publish" : [
1223 " github"
1324 ],
1425 "category" : " your.app.category.type" ,
15- "artifactName" : " edgetx-buddy-${version}.${ext}"
26+ "artifactName" : " edgetx-buddy-${version}-${arch} .${ext}"
1627 },
1728 "linux" : {
1829 "publish" : [
You can’t perform that action at this time.
0 commit comments