Skip to content

Commit eda9f51

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

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
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

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"main": "scripts/arduino-ide-electron-main.js",
3-
"author": "Arduino SA",
3+
"author": "Arduino SA <[email protected]>",
44
"resolutions": {
55
"**/fs-extra": "^4.0.3"
66
},
@@ -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"

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)