Add additional setup command for linux

Signed-off-by: Trivernis <trivernis@protonmail.com>
pull/4/head
Trivernis 3 years ago
parent b38ae8dc67
commit 75acaa8fe8

@ -29,7 +29,7 @@ jobs:
src-tauri/target
~/.cargo
key: ${{ runner.os }}-dependencies-${{ hashFiles('src-tauri/Cargo.lock') }}-${{ hashFiles('yarn.lock') }}
restore_keys: |
restore-keys: |
${{ runner.os }}-dependencies-
- name: Use Node.js 16
@ -49,6 +49,13 @@ jobs:
- name: Install dependencies
run: yarn install
- name: Install OS-specific dependencies
uses: knicknic/os-specific-run@v1.0.3
with:
linux: |
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev patchelf librsvg2-dev -y
- name: Build project
run: cargo tauri build --debug

Loading…
Cancel
Save