From 59b7196158aa3689a07227389ddcea3eed442182 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sun, 16 Jan 2022 19:47:58 +0100 Subject: [PATCH] Change dependency installation to run as superuser Signed-off-by: trivernis --- .github/workflows/build-api.yml | 4 ++-- .github/workflows/build-ui.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index e406bcf..1fd079d 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -42,8 +42,8 @@ jobs: uses: knicknic/os-specific-run@v1.0.3 with: linux: | - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y + sudo apt-get update + DEBIAN_FRONTEND=noninteractive sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y - name: Build run: cargo build diff --git a/.github/workflows/build-ui.yml b/.github/workflows/build-ui.yml index 8a3c0bd..55148d1 100644 --- a/.github/workflows/build-ui.yml +++ b/.github/workflows/build-ui.yml @@ -66,8 +66,8 @@ jobs: uses: knicknic/os-specific-run@v1.0.3 with: linux: | - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y + sudo apt-get update + DEBIAN_FRONTEND=noninteractive sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y - name: Build project run: cargo tauri build --debug @@ -135,8 +135,8 @@ jobs: uses: knicknic/os-specific-run@v1.0.3 with: linux: | - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y + sudo apt-get update + DEBIAN_FRONTEND=noninteractive sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev libappindicator3-dev -y - name: Build project run: cargo tauri build