Skip to content

Commit 8fa7b2a

Browse files
Add Mac signing step to release workflow
1 parent 10cfef3 commit 8fa7b2a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/release-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ jobs:
5151
- name: Build package
5252
run: ${{ matrix.script }}
5353

54+
- name: Mac signing
55+
if: runner.os == 'macos-latest'
56+
run: npm run build && npx electron-builder --mac --publish always
57+
env:
58+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
CSC_LINK: /tmp/certificate.p12
60+
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
61+
APPLE_ID: ${{ secrets.APPLE_ID }}
62+
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
63+
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
64+
5465
- name: Upload artifacts
5566
uses: actions/upload-artifact@v4
5667
with:

0 commit comments

Comments
 (0)