From c11f64f4ca71624045ff8e50c1cc5329fad7ea3f Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sun, 8 Sep 2024 20:30:12 +0200 Subject: [PATCH] attempt 4 --- .github/workflows/people-thumbs.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/people-thumbs.yml b/.github/workflows/people-thumbs.yml index dca014a..91fe1de 100644 --- a/.github/workflows/people-thumbs.yml +++ b/.github/workflows/people-thumbs.yml @@ -25,7 +25,18 @@ jobs: - name: Install cwebp shell: bash - run: npm install cwebp + run: | + pwd + sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libgif-dev + wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.4-linux-x86-64.tar.gz + tar xzvf libwebp-1.2.4-linux-x86-64.tar.gz + cd libwebp-1.2.4-linux-x86-64/bin + mv cwebp ${{ github.workspace }} + cd ../.. + rm -rf libwebp-1.2.4-linux-x86-64 + rm -rf libwebp-1.2.4-linux-x86-64.tar.gz + sudo mv cwebp /bin + ls - name: Run image optimisation script run: make img-opt