fix(ci): collapse multi-line Python to one-liner to fix YAML block scalar indentation error
Android Release / build-apk (push) Successful in 4m3s

This commit is contained in:
funman300
2026-05-16 12:34:40 -07:00
parent ccb77f76b8
commit d8f67dcad3
+4 -8
View File
@@ -98,14 +98,10 @@ jobs:
# Remove any existing APK assets so re-runs don't accumulate duplicates.
curl -sf -H "$AUTH" "$BASE/releases/$RELEASE_ID/assets" \
| python3 -c "
import sys, json
for a in json.load(sys.stdin):
if a['name'].endswith('.apk'):
print(a['id'])
" | while read AID; do
curl -sf -X DELETE -H "$AUTH" "$BASE/releases/$RELEASE_ID/assets/$AID"
done
| python3 -c "import sys,json; [print(a['id']) for a in json.load(sys.stdin) if a['name'].endswith('.apk')]" \
| while read AID; do
curl -sf -X DELETE -H "$AUTH" "$BASE/releases/$RELEASE_ID/assets/$AID"
done
curl -sf -X POST \
-H "$AUTH" \