From 9de1863ac5d2f94f568c461ef32bd07258129600 Mon Sep 17 00:00:00 2001 From: jordyhers Date: Mon, 4 Sep 2023 08:57:08 +0200 Subject: [PATCH] chore: improve files check for png --- .github/workflows/deploy_dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_dev.yml b/.github/workflows/deploy_dev.yml index 24f43e6..21150d4 100644 --- a/.github/workflows/deploy_dev.yml +++ b/.github/workflows/deploy_dev.yml @@ -16,7 +16,7 @@ jobs: - name: Check Logos PNG files run: | shopt -s nullglob - for file in $(find assets \( -path "assets/basketball/*" -o -path "assets/fashion/*" -o -path "assets/daily/*" -o -path "assets/football/*" -o -path "assets/media/*" -o -path "assets/tech/*" -o -path "assets/nfl/*" -o -path "assets/cricket/*" \) -type f ! -name "*.png"); do + for file in $(find assets \( -path "assets/nba/*" -o -path "assets/fashion/*" -o -path "assets/daily/*" -o -path "assets/football/*" -o -path "assets/media/*" -o -path "assets/tech/*" -o -path "assets/nfl/*" -o -path "assets/cricket/*" -o -path "assets/badges/*" -o -path "assets/crypto/*" -o -path "assets/auto/*"\) -type f ! -name "*.png"); do echo "ERROR: File '$file' is not a PNG file" done - name: Setup Flutter