From 75acaa8fe8f46600a5f94aab7df99072bd307179 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Fri, 5 Nov 2021 13:01:41 +0100 Subject: [PATCH] Add additional setup command for linux Signed-off-by: Trivernis --- mediarepo-ui/.github/workflows/build-debug-build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mediarepo-ui/.github/workflows/build-debug-build.yml b/mediarepo-ui/.github/workflows/build-debug-build.yml index 3d3e349..843faf9 100644 --- a/mediarepo-ui/.github/workflows/build-debug-build.yml +++ b/mediarepo-ui/.github/workflows/build-debug-build.yml @@ -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