From 27c974386abcbac890e8f08d65c9d0eb653ec7fe Mon Sep 17 00:00:00 2001 From: Arlind Date: Fri, 20 Jun 2025 16:07:56 +0200 Subject: [PATCH] Update .gitea/workflows/ci.yml --- .gitea/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 586aaa6..ff15b93 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: pp_rank=$(echo "$user_data" | jq -r '.[0].pp_rank // "9999999"') pp_country_rank=$(echo "$user_data" | jq -r '.[0].pp_country_rank // "-"') - username=$(echo "$user_data" | jq -r '.[0].username // "'"$owner"'")' + username=$(echo "$user_data" | jq -r --arg owner "$owner" '.[0].username // $owner') padded_rank=$(printf "%07d" "$pp_rank") printf "%s|%s%s%sProfileSkins\n" \ @@ -130,10 +130,11 @@ jobs: page=$((page + 1)) done - echo "user_rows_file=$user_rows_file" >> "$GITHUB_OUTPUT" - echo "avatar_rows_file=$avatar_rows_file" >> "$GITHUB_OUTPUT" - echo "total_valid_entries=$total_valid_entries" >> "$GITHUB_OUTPUT" - + { + echo "user_rows_file=$user_rows_file" + echo "avatar_rows_file=$avatar_rows_file" + echo "total_valid_entries=$total_valid_entries" + } >> "$GITHUB_OUTPUT" update_and_push_readme: name: Update README and Push Changes