From d36b8fef55d49238057bde7726ce214dcb36438d Mon Sep 17 00:00:00 2001 From: JangOetama <46255322+JangOetama@users.noreply.github.com> Date: Tue, 17 Dec 2024 18:28:40 +0700 Subject: [PATCH] ci: update different icons --- .github/workflows/convert.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/convert.yml b/.github/workflows/convert.yml index 0f4b49a..e2a2c75 100644 --- a/.github/workflows/convert.yml +++ b/.github/workflows/convert.yml @@ -56,17 +56,16 @@ jobs: echo "Processing $name..." - if [[ -f "$output_hash_name" && "$hash" != "$(cat $output_hash_name)" ]]; then - echo "Different hash, delete $name..." - [[ -f "$output_name" ]] && rm "$output_name" - [[ -f "$output_hash_name" ]] && rm "$output_hash_name" - fi - if [[ -f "$output_name" && -f "$output_hash_name" && "$hash" == "$(cat $output_hash_name)" ]]; then echo "$name is already exist." continue fi - + + if [[ -f "$output_name" && -f "$output_hash_name" && "$hash" != "$(cat $output_hash_name)" ]]; then + echo "Different hash, delete $name..." + [[ -f "$output_name" ]] && rm "$output_name" + [[ -f "$output_hash_name" ]] && rm "$output_hash_name" + fi install_dependencies changed=true