File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 30
30
# if: matrix.os == 'ubuntu-latest'
31
31
# run: npm run build:linux
32
32
33
+ # Decode and import Developer ID Certificate
34
+ - name : Set up Code Signing Certificate
35
+ run : |
36
+ echo "${{ secrets.CERTIFICATE_BASE64 }}" | base64 --decode > certificate.p12
37
+ security create-keychain -p "" build.keychain
38
+ security default-keychain -s build.keychain
39
+ security unlock-keychain -p "" build.keychain
40
+ security import certificate.p12 -k build.keychain -P "${{ secrets.CERTIFICATE_PASSWORD }}" -T /usr/bin/codesign
41
+ security set-key-partition-list -S apple-tool:,apple: -s -k "" build.keychain
42
+
33
43
- name : build-mac
44
+ env :
45
+ APPLE_USERNAME : ${{ secrets.APPLE_USERNAME }}
46
+ APPLE_PASSWORD : ${{ secrets.APPLE_PASSWORD }}
47
+ APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
48
+ APP_BUNDLE_ID : ${{ secrets.APP_BUNDLE_ID }}
34
49
if : matrix.os == 'macos-latest'
35
50
run : npm run build:mac
36
51
You can’t perform that action at this time.
0 commit comments