From a931ffb3dc06d935d08ef25518beee5751e3da98 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Wed, 24 Jul 2024 09:50:02 +0800 Subject: [PATCH] . --- .github/workflows/ci.yml | 2 +- script/install-linux-deps.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 script/install-linux-deps.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5afe9f37..a173f431 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install system dependencies - run: sudo apt-get install -y libwebkit2gtk-4.1-dev + run: sh ./script/install-linux-deps.sh - uses: actions/checkout@v4 - name: Setup | Cache Cargo uses: actions/cache@v3.0.11 diff --git a/script/install-linux-deps.sh b/script/install-linux-deps.sh new file mode 100644 index 00000000..7a3895b0 --- /dev/null +++ b/script/install-linux-deps.sh @@ -0,0 +1,2 @@ +sudo apt-get update +sudo apt-get install -y libwebkit2gtk-4.1-dev