ci: build AppImage and deb in CI; flatpak stays local
flatpak-builder cannot run inside the job container. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f8acd14be5
commit
3613df7772
1 file changed
+2
-5
@@ -14,20 +14,17 @@ jobs:
|
|||||||
- name: Tools
|
- name: Tools
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y flatpak flatpak-builder fakeroot dpkg rpm libarchive-tools
|
apt-get install -y fakeroot dpkg rpm libarchive-tools
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
|
||||||
flatpak install -y flathub org.freedesktop.Platform//25.08 org.freedesktop.Sdk//25.08 org.electronjs.Electron2.BaseApp//25.08
|
|
||||||
npm i -g bun
|
npm i -g bun
|
||||||
- run: bun install --frozen-lockfile --ignore-scripts
|
- run: bun install --frozen-lockfile --ignore-scripts
|
||||||
- run: bun run build
|
- run: bun run build
|
||||||
- run: bunx electron-builder --linux AppImage deb flatpak
|
- run: bunx electron-builder --linux AppImage deb
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: |
|
path: |
|
||||||
dist/*.AppImage
|
dist/*.AppImage
|
||||||
dist/*.deb
|
dist/*.deb
|
||||||
dist/*.flatpak
|
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in new issue
Block a user