Skip to content

Commit 6afce1b

Browse files
committed
chore: Switch to tar.bz2 outputs for multi-core build, set compression level to 5 instead of 9 for massive speed improvements
1 parent bcec7c9 commit 6afce1b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
run: bun run build:linux-gs
5959
env:
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
ELECTRON_BUILDER_COMPRESSION_LEVEL: 5
6162
- name: Derive artifact naming
6263
id: meta
6364
shell: bash
@@ -180,6 +181,7 @@ jobs:
180181
run: bun run build:linux-gs
181182
env:
182183
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
184+
ELECTRON_BUILDER_COMPRESSION_LEVEL: 5
183185
- name: Zip unpacked variant
184186
run: cd dist && zip -r winboat-linux-unpacked.zip linux-unpacked/
185187
- name: Create GitHub Release

electron-builder.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"linux": {
1818
"icon": "icons/winboat_logo.svg",
19-
"target": ["appimage", "deb", "rpm", "tar.gz"],
19+
"target": ["appimage", "deb", "rpm", "tar.bz2"],
2020
"category": "Utility",
2121
"artifactName": "${name}-${version}-${arch}.${ext}"
2222
},

0 commit comments

Comments
 (0)