From 49edd9f34efc981ed7d970e43bbf5e56225ee108 Mon Sep 17 00:00:00 2001 From: Breezebuilder Date: Thu, 27 Mar 2025 13:39:59 +1100 Subject: [PATCH] Set and use fixed ImageMagick version 8:6.9.12.98 --- .github/workflows/check-mod.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-mod.yml b/.github/workflows/check-mod.yml index 3e349a68..ac49852b 100644 --- a/.github/workflows/check-mod.yml +++ b/.github/workflows/check-mod.yml @@ -18,12 +18,7 @@ jobs: uses: awalsh128/cache-apt-pkgs-action@v1 with: packages: imagemagick - execute_install_scripts: true - - - name: DEBUG Check cache restore state - run: | - ls -gh /usr/bin - ls -gh /usr/local/bin + version: 8:6.9.12.98+dfsg1-5.2build2 - name: Identify Changed Mods id: find-changed-mods @@ -102,7 +97,7 @@ jobs: if [ -f "$THUMBNAIL" ]; then # Extract width and height using ImageMagick - DIMENSIONS=$(/usr/bin/identify -format "%wx%h" "$THUMBNAIL") + DIMENSIONS=$(/usr/bin/identify-im6.q16 -format "%wx%h" "$THUMBNAIL") WIDTH=$(echo "$DIMENSIONS" | cut -dx -f1) HEIGHT=$(echo "$DIMENSIONS" | cut -dx -f2)