diff --git a/.github/workflows/check-mod.yml b/.github/workflows/check-mod.yml index ac49852b..1442bf3f 100644 --- a/.github/workflows/check-mod.yml +++ b/.github/workflows/check-mod.yml @@ -88,6 +88,7 @@ jobs: done < changed_mods.txt - name: Check Thumbnail Dimensions + continue-on-error: true if: steps.find-changed-mods.outputs.changed_mods_found == 'true' run: | while read -r mod_path; do @@ -96,7 +97,8 @@ jobs: THUMBNAIL="$mod_path/thumbnail.jpg" if [ -f "$THUMBNAIL" ]; then - # Extract width and height using ImageMagick + # Extract width and height using ImageMagick identify + # Using identify-im6.q16 directly as identify is a symlink that is not created by the cache restoration DIMENSIONS=$(/usr/bin/identify-im6.q16 -format "%wx%h" "$THUMBNAIL") WIDTH=$(echo "$DIMENSIONS" | cut -dx -f1) HEIGHT=$(echo "$DIMENSIONS" | cut -dx -f2)