Skip to content

Commit 7a20965

Browse files
👷 Signing Certificate
1 parent 3ff129f commit 7a20965

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,25 @@ jobs:
6363
- name: Install dependencies
6464
run: npm install
6565

66-
- name: Build with npm
66+
- name: Mac Build with npm
67+
if: ${{ matrix.os == 'macos-latest' }}
68+
env:
69+
CSC_LINK: ${{ secrets.MAC_CERT_BASE64 }}
70+
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_PASSWORD }}
71+
run: npm run build
72+
73+
- name: Windows Build with npm
74+
if: ${{ matrix.os == 'windows-latest' }}
75+
env:
76+
CSC_LINK: ${{ secrets.WINDOWS_CERT_BASE64 }}
77+
CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CERT_PASSWORD }}
78+
run: npm run build
79+
80+
- name: Linux Build with npm
81+
if: ${{ matrix.os == 'ubuntu-latest' }}
82+
env:
83+
CSC_LINK: ${{ secrets.LINUX_CERT_BASE64 }}
84+
CSC_KEY_PASSWORD: ${{ secrets.LINUX_CERT_PASSWORD }}
6785
run: npm run build
6886

6987
- name: List files in release folder
@@ -76,7 +94,7 @@ jobs:
7694
name: release-${{ matrix.os }}
7795
path: |
7896
release/**/**
79-
!release/**/linux-unpacked
80-
!release/**/win-unpacked
81-
!release/**/*.app
97+
!release/**/linux**
98+
!release/**/win**
99+
!release/**/mac**
82100
!release/**/builder-debug.yml

0 commit comments

Comments
 (0)