Skip to content

Commit 66ba681

Browse files
committed
update workflow
1 parent 75b6c6a commit 66ba681

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/electron-build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,17 @@ jobs:
2727
if: ${{ matrix.os == 'windows-latest'}}
2828
run: |
2929
yarn build:win
30+
- name: Import Apple installer signing certificate
31+
if: matrix.os.matrix == 'macos'
32+
uses: Apple-Actions/import-codesign-certs@v2
33+
with:
34+
p12-file-base64: ${{ secrets.APPLE_DEV_ID_APP }}
35+
p12-password: ${{ secrets.APPLE_DEV_ID_APP_PASS }}
3036
- name: Build macOS
3137
if: ${{ matrix.os == 'macos-latest'}}
3238
run: |
3339
xattr -cr .
3440
yarn build:mac
35-
env:
36-
APPLE_ID: ${{ secrets.APPLE_ID }}
37-
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
3841
- name: Build Linux
3942
if: ${{ matrix.os == 'ubuntu-latest'}}
4043
run: |

0 commit comments

Comments
 (0)