Updated data-refresh.yml with cwebp install bash

This commit is contained in:
niclaz 2024-09-12 21:47:31 +02:00 committed by GitHub
parent 70b34d83a8
commit 6fa910d677
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 0 deletions

View File

@ -22,14 +22,33 @@ jobs:
steps: steps:
- name: Checkout your repository using git - name: Checkout your repository using git
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: denoland/setup-deno@v1 - uses: denoland/setup-deno@v1
with: with:
deno-version: v1.x deno-version: v1.x
- uses: szenius/set-timezone@v2.0 - uses: szenius/set-timezone@v2.0
with: with:
timezoneLinux: "Europe/Prague" timezoneLinux: "Europe/Prague"
- name: Install cwebp
shell: bash
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 all MAKEFILE jobs - name: Run all MAKEFILE jobs
run: make refresh run: make refresh
- name: Upload GitHub Pages artifact - name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3.0.1 uses: actions/upload-pages-artifact@v3.0.1
with: with: