fix: CI workflow failures
Linux workflow: - Remove xdg-portal feature from tauri-plugin-dialog to fix ashpd/zbus version incompatibility - The ashpd 0.11.0 crate has breaking changes with zbus 5.x Flatpak workflow: - Use build-options.append-path instead of shell export to properly set PATH for SDK extensions - This ensures npm/rust binaries are available in all build commands
This commit is contained in:
1 parent
eefec87d91
commit
d2b219ea1d
2 files changed
+4
-2
No files matched your search
@@ -23,8 +23,9 @@ finish-args:
|
||||
modules:
|
||||
- name: qbz
|
||||
buildsystem: simple
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin
|
||||
build-commands:
|
||||
- export PATH=/usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin:$PATH
|
||||
- npm ci
|
||||
- npm run build
|
||||
- npm run tauri build -- --bundles none
|
||||
|
||||
@@ -90,7 +90,8 @@ futures-util = "0.3"
|
||||
|
||||
# Platform-specific dependencies
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
tauri-plugin-dialog = { version = "2.5.0", default-features = false, features = ["xdg-portal"] }
|
||||
# Note: xdg-portal feature disabled due to ashpd/zbus version incompatibility
|
||||
tauri-plugin-dialog = { version = "2.5.0" }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
tauri-plugin-dialog = { version = "2.5.0" }
|
||||
|
||||
Reference in new issue
Block a user