From 3492447e90caa7c96a1e7e3a97be2c524897155f Mon Sep 17 00:00:00 2001 From: Breezebuilder Date: Thu, 27 Mar 2025 13:53:20 +1100 Subject: [PATCH] Enable `continue-on-error` for thumbnail dimension check --- .github/workflows/check-mod.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)