chore: instal system dependencies only for rust codeql check

This commit is contained in:
zhom
2025-07-04 02:41:30 +04:00
parent 51983bf3a5
commit 76bcb73b39
+5 -2
View File
@@ -48,8 +48,8 @@ jobs:
toolchain: stable
targets: x86_64-unknown-linux-gnu
- name: Install dependencies (Ubuntu only)
if: matrix.platform == 'ubuntu-latest'
- name: Install system dependencies (Rust only)
if: matrix.language == 'rust'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev pkg-config xdg-utils
@@ -63,17 +63,20 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Install rust dependencies
if: matrix.language == 'rust'
working-directory: ./src-tauri
run: |
cargo build
- name: Build nodecar sidecar
if: matrix.language == 'rust'
shell: bash
working-directory: ./nodecar
run: |
pnpm run build:linux-x64
- name: Copy nodecar binary to Tauri binaries
if: matrix.language == 'rust'
shell: bash
run: |
mkdir -p src-tauri/binaries