Skip to content

Commit 1191518

Browse files
committed
[ci]: Build deb target for Linux.
Signed-off-by: Akos Kitta <kittaakos@gmail.com>
1 parent 05c0505 commit 1191518

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ jobs:
9595
matrix:
9696
artifact:
9797
- path: "*Linux_64bit.zip"
98-
name: Linux_X86-64
98+
name: Linux_X86-64_zip
99+
- path: "*Linux_64bit.deb"
100+
name: Linux_X86-64_deb
99101
- path: "*macOS_64bit.dmg"
100102
name: macOS
101103
- path: "*Windows_64bit.exe"

electron/build/template-package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@
9191
},
9292
"linux": {
9393
"target": [
94-
{
95-
"target": "zip"
96-
}
94+
"zip",
95+
"deb"
9796
],
9897
"category": "Development",
9998
"icon": "resources/icons"

electron/packager/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
276276
const filesToCopy = [];
277277
switch (platform) {
278278
case 'linux': {
279-
filesToCopy.push(...glob.sync('**/arduino-ide*.{zip,AppImage}', { cwd }).map(p => join(cwd, p)));
279+
filesToCopy.push(...glob.sync('**/arduino-ide*.{zip,deb}', { cwd }).map(p => join(cwd, p)));
280280
break;
281281
}
282282
case 'win32': {

0 commit comments

Comments
 (0)