Skip to content

Commit 247227b

Browse files
committed
ci(linux): build rpm and split appimage/deb/rpm into separate artifacts
1 parent ab32c7b commit 247227b

1 file changed

Lines changed: 22 additions & 8 deletions

File tree

.github/workflows/build-linux.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,36 @@ jobs:
4949
libayatana-appindicator3-dev libsoup-3.0-dev libssl-dev \
5050
libpipewire-0.3-dev clang libclang-dev \
5151
libasound2-dev libopus-dev \
52-
desktop-file-utils xdg-utils patchelf
52+
desktop-file-utils xdg-utils patchelf rpm
5353
5454
- name: Install JS deps
5555
run: bun install --frozen-lockfile
5656

57-
- name: Build AppImage + deb
57+
- name: Build AppImage + deb + rpm
5858
uses: tauri-apps/tauri-action@v0
5959
with:
6060
projectPath: src-tauri
61-
args: '--bundles appimage,deb -c {"bundle":{"createUpdaterArtifacts":false}}'
61+
args: '--bundles appimage,deb,rpm -c {"bundle":{"createUpdaterArtifacts":false}}'
6262

63-
- name: Upload artifact
63+
# Separate artifacts so each downloads on its own -- grabbing the
64+
# small deb/rpm doesn't pull the heavy AppImage.
65+
- name: Upload AppImage
6466
uses: actions/upload-artifact@v4
6567
with:
66-
name: splitwave-linux-x86_64
67-
path: |
68-
src-tauri/target/release/bundle/appimage/*.AppImage
69-
src-tauri/target/release/bundle/deb/*.deb
68+
name: Splitwave-AppImage-x86_64
69+
path: src-tauri/target/release/bundle/appimage/*.AppImage
70+
if-no-files-found: error
71+
72+
- name: Upload deb
73+
uses: actions/upload-artifact@v4
74+
with:
75+
name: Splitwave-deb-x86_64
76+
path: src-tauri/target/release/bundle/deb/*.deb
77+
if-no-files-found: error
78+
79+
- name: Upload rpm
80+
uses: actions/upload-artifact@v4
81+
with:
82+
name: Splitwave-rpm-x86_64
83+
path: src-tauri/target/release/bundle/rpm/*.rpm
7084
if-no-files-found: error

0 commit comments

Comments
 (0)