From 7dd6c5110bb88d7e3900d88d4ffcd050125fe52e Mon Sep 17 00:00:00 2001 From: Arlind-dev Date: Fri, 20 Jun 2025 17:24:55 +0200 Subject: [PATCH] fix xargs --- .gitea/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f35e373..655c128 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -72,8 +72,8 @@ jobs: continue fi - echo "$repos_json" | jq -c '.[]' | xargs -n1 -P4 -I{} bash -c ' - repo_data="{}" + echo "$repos_json" | jq -c '.[]' | xargs -P4 -I{} bash -c ' + repo_data="$1" owner=$(echo "$repo_data" | jq -r ".owner.login") repo=$(echo "$repo_data" | jq -r ".name") html_url=$(echo "$repo_data" | jq -r ".html_url") @@ -127,8 +127,7 @@ jobs: "$padded_rank" "$html_url" "$osu_id" "$timestamp" >> "$avatar_rows_file" echo " ✅ Match: $username (Rank #$pp_rank)" - exit 0 - ' + ' _ '{}' done page=$((page + 1)) done