attempt 4

This commit is contained in:
niclaz 2024-09-08 20:30:12 +02:00 committed by GitHub
parent 341c40de9f
commit c11f64f4ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 1 deletions

View File

@ -25,7 +25,18 @@ jobs:
- name: Install cwebp - name: Install cwebp
shell: bash 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 - name: Run image optimisation script
run: make img-opt run: make img-opt