From ebaed25dbb3e93d02ae28c00e93a5e7c4180168d Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 27 Mar 2025 10:28:07 +0100 Subject: [PATCH] edit workflows --- .github/workflows/check-format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-format.yml b/.github/workflows/check-format.yml index d06c9bf..a6f152f 100644 --- a/.github/workflows/check-format.yml +++ b/.github/workflows/check-format.yml @@ -50,7 +50,7 @@ jobs: if [[ $basename == *"_animated"* ]]; then t=$(echo "$basename" | sed 's/_static/_animated/') - if [ ! -f "${t}.png" ] && [ ! -f "${t}.jpg" ]; then + if [ ! -f "${t}.png" ] || [ ! -f "${t}.jpg" ]; then echo "❌ Error: $file has a animated tag but no png or jpg file" exit 1 fi