59
59
# List contents before build
60
60
ls -la
61
61
62
- # Run build with verbose logging
63
- npx electron-builder --linux AppImage --x64
62
+ # Run build with verbose logging for Linux formats
63
+ # AppImage - Universal portable format
64
+ # DEB - Debian/Ubuntu systems
65
+ npx electron-builder --linux AppImage deb --x64
64
66
65
67
# Show build output directory
66
68
echo "Build output directory contents:"
@@ -146,6 +148,7 @@ jobs:
146
148
name : linux-build
147
149
path : |
148
150
dist/*.AppImage
151
+ dist/*.deb
149
152
if-no-files-found : error
150
153
151
154
- name : Upload Windows artifacts
@@ -194,9 +197,10 @@ jobs:
194
197
195
198
- name : Process artifacts
196
199
run : |
197
- # Process Linux artifact
200
+ # Process Linux artifacts
198
201
cd artifacts/linux-build
199
202
mv *.AppImage ../../drivechain-launcher-latest-x86_64-linux.AppImage
203
+ mv *.deb ../../drivechain-launcher-latest-x86_64-linux.deb
200
204
cd ../..
201
205
202
206
# Process Windows artifact
@@ -247,6 +251,10 @@ jobs:
247
251
echo "Error: Linux AppImage file not found"
248
252
exit 1
249
253
fi
254
+ if [ ! -f "drivechain-launcher-latest-x86_64-linux.deb" ]; then
255
+ echo "Error: Linux DEB file not found"
256
+ exit 1
257
+ fi
250
258
if [ ! -f "drivechain-launcher-latest-windows.zip" ]; then
251
259
echo "Error: Windows zip file not found"
252
260
exit 1
@@ -269,6 +277,7 @@ jobs:
269
277
port : 22
270
278
scp : |
271
279
'drivechain-launcher-latest-x86_64-linux.AppImage' => '/var/www/html/'
280
+ 'drivechain-launcher-latest-x86_64-linux.deb' => '/var/www/html/'
272
281
'drivechain-launcher-latest-windows.zip' => '/var/www/html/'
273
282
'drivechain-launcher-latest-osx-arm64.dmg' => '/var/www/html/'
274
283
'drivechain-launcher-latest-osx-x64.dmg' => '/var/www/html/'
0 commit comments