File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,26 @@ jobs:
7373 run : |
7474 npm install
7575
76- - name : Build Electron app
76+ # Linux build
77+ - name : Build Electron app (Linux)
78+ if : matrix.os == 'ubuntu-latest'
79+ run : |
80+ cd electron
81+ npm run build
82+
83+ # macOS build
84+ - name : Build Electron app (macOS)
85+ if : matrix.os == 'macos-14'
7786 env :
78- CSC_LINK : ${{ matrix.os == 'macos-14' && secrets.mac_certs || '' }}
79- CSC_KEY_PASSWORD : ${{ matrix.os == 'macos-14' && secrets.mac_certs_password || '' }}
87+ CSC_LINK : ${{ secrets.mac_certs }}
88+ CSC_KEY_PASSWORD : ${{ secrets.mac_certs_password }}
89+ run : |
90+ cd electron
91+ npm run build
92+
93+ # Windows build
94+ - name : Build Electron app (Windows)
95+ if : matrix.os == 'windows-latest'
8096 run : |
8197 cd electron
8298 npm run build
Original file line number Diff line number Diff line change 169169 " build/**/*"
170170 ]
171171 }
172- }
172+ }
You can’t perform that action at this time.
0 commit comments