An open-source, faster Devin alternative
TypeScript
write to temp file change
Brian Reardon52692035d06f
diff --git a/.github/workflows/deploy-worker.yml b/.github/workflows/deploy-worker.ymlindex c776a539..44f8f6ab 100644--- a/.github/workflows/deploy-worker.yml+++ b/.github/workflows/deploy-worker.yml@@ -78,7 +78,7 @@ jobs:# Get all worker private IPs from the control plane APIWORKER_IPS=$(curl -sf -H "X-API-Key: $API_KEY" http://localhost:8080/api/workers \- | python3 -c "import json,sys,re; [print(m.group(1)) for w in json.load(sys.stdin) for m in [re.search(r'//([^:]+)',w.get('http_addr',''))] if m]")+ | python3 -c "import json,sys;[print(a.split('/')[2].split(':')[0]) for w in json.load(sys.stdin) for a in [w.get('http_addr','')] if '//' in a]")if [ -z "$WORKER_IPS" ]; thenecho "ERROR: No workers found"