chore: install ubuntu dependencies after setting up rust

This commit is contained in:
zhom
2025-07-03 23:17:42 +04:00
parent 1b0ebbc666
commit d8f07ddb11
+9 -4
View File
@@ -42,17 +42,22 @@ jobs:
node-version-file: .node-version
cache: "pnpm"
- name: Setup Rust
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b #master
with:
toolchain: stable
targets: x86_64-unknown-linux-gnu
- name: Install dependencies (Ubuntu only)
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm'
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
- name: Setup Rust
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b #master
- name: Rust cache
uses: swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 #v2.8.0
with:
toolchain: stable
targets: x86_64-unknown-linux-gnu
workdir: ./src-tauri
- name: Install dependencies from lockfile
run: pnpm install --frozen-lockfile