Configure builds: MSI only for Windows, add Linux AppImage build
Some checks failed
Build / build-windows (push) Failing after 4m51s
Build / build-linux (push) Failing after 1m37s

This commit is contained in:
2026-01-23 19:45:49 +11:00
parent af096a63d3
commit 706d78e2fe
2 changed files with 48 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
name: Build Windows
name: Build
on:
push:
@@ -38,10 +38,50 @@ jobs:
- name: Build Tauri app
run: npm run tauri build
- name: Upload artifacts
- name: Upload MSI installer
uses: actions/upload-artifact@v4
with:
name: windows-installer
path: |
src-tauri/target/release/bundle/msi/*.msi
src-tauri/target/release/bundle/nsis/*-setup.exe
name: windows-msi
path: src-tauri/target/release/bundle/msi/*.msi
build-linux:
runs-on: linux
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install dependencies (root)
run: npm install
- name: Install dependencies (cinny)
working-directory: ./cinny
run: npm install
- name: Build Tauri app
run: npm run tauri build
- name: Upload AppImage
uses: actions/upload-artifact@v4
with:
name: linux-appimage
path: src-tauri/target/release/bundle/appimage/*.AppImage

View File

@@ -45,7 +45,8 @@
"wix": {
"bannerPath": "wix/banner.bmp",
"dialogImagePath": "wix/dialogImage.bmp"
}
},
"nsis": null
}
},
"updater": {