Update .gitea/workflows/ci.yml
Some checks failed
Update Community Skins README / gather-skins (push) Failing after 7s
Update Community Skins README / generate-readme (push) Has been skipped
Update Community Skins README / commit-readme (push) Has been skipped

This commit is contained in:
2025-11-22 23:38:56 +01:00
parent f6f15ad6f2
commit cbe86174be

View File

@@ -134,8 +134,9 @@ jobs:
osu_response=$(curl --retry 3 --retry-delay 5 -s \
"https://osu.ppy.sh/api/get_user?k=${{ secrets.OSUAPIV1 }}&u=$osu_id&type=id&_ts=$(date +%s)")
if ! echo "$osu_response" | json_valid; then
if ! printf "%s" "$osu_response" | json_valid; then
echo " ❌ Invalid osu! API JSON for $osu_id"
printf "%s" "$osu_response" > "$ARTIFACT_PATH/invalid_osu_user_${osu_id}.json"
continue
fi