Skip to content

Commit 90e737d

Browse files
committed
[ci]: Build deb target for Linux.
Signed-off-by: Akos Kitta <[email protected]>
1 parent 05c0505 commit 90e737d

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: .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"

Diff for: electron/build/template-package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@
9292
"linux": {
9393
"target": [
9494
{
95-
"target": "zip"
95+
"target": [
96+
"zip",
97+
"deb"
98+
]
9699
}
97100
],
98101
"category": "Development",

Diff for: 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)