File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - master
77 - release-candidate
88 - release-candidate-*
9+ - release-3.2.0
910 - feature-*
1011 workflow_dispatch :
1112
8990 ls -al ~/private_keys # Debugging line to check the contents of the directory
9091 chmod -R 755 ~/private_keys # Ensure proper permissions
9192
92- - name : Linux - Build Electron App
93+ - name : Linux - Build Electron App (All Platforms)
9394 if : startsWith(matrix.os, 'ubuntu')
94- run : yarn run release
95+ run : |
96+ # Build for Linux
97+ yarn run release
98+ # Also build Windows packages from Linux (cross-platform)
99+ cd packages/keepkey-desktop
100+ yarn electron-builder --win --publish=never
95101 env :
96102 NODE_ENV : production
97103 APPLE_ID : ${{ secrets.apple_id }}
@@ -164,6 +170,18 @@ jobs:
164170 packages/keepkey-desktop/dist/*.AppImage.blockmap
165171 if-no-files-found : error
166172
173+ - name : Linux - Upload Windows packages (cross-platform build)
174+ if : startsWith(matrix.os, 'ubuntu')
175+ uses : actions/upload-artifact@v4
176+ with :
177+ name : windows-from-linux-${{ matrix.os }}
178+ path : |
179+ packages/keepkey-desktop/dist/*.exe
180+ packages/keepkey-desktop/dist/*.msi
181+ packages/keepkey-desktop/dist/*.exe.blockmap
182+ packages/keepkey-desktop/dist/*.msi.blockmap
183+ if-no-files-found : warn
184+
167185 - name : Mac - Upload .dmg
168186 if : startsWith(matrix.os, 'macos')
169187 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments