Skip to content

Commit

Permalink
chore: improve files check for png
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyHers committed Sep 4, 2023
1 parent f6ac159 commit 9de1863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9de1863

Please sign in to comment.