mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-04-22 20:28:47 +02:00
🥅 Adds error handling
Signed-off-by: Bjorn Lammers <walkxnl@gmail.com>
This commit is contained in:
parent
e4867417b8
commit
0bf7ce1daa
4
.github/workflows/png-svg-compression.yml
vendored
4
.github/workflows/png-svg-compression.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
find png/ -iname "*.png" -print0 | while read -d $'\0' file
|
||||
do
|
||||
echo "Processing file $current_file of $total_files: $file"
|
||||
pngquant --force --ext .png --skip-if-larger --verbose --speed 1 $file
|
||||
pngquant --force --ext .png --skip-if-larger --verbose --speed 1 $file || true
|
||||
current_file=$((current_file+1))
|
||||
done
|
||||
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
find svg/ -iname "*.svg" -print0 | while read -d $'\0' file
|
||||
do
|
||||
echo "Processing file $current_file of $total_files: $file"
|
||||
svgo --quiet --multipass --show-progress $file
|
||||
svgo --quiet --multipass --show-progress $file || true
|
||||
current_file=$((current_file+1))
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user