ci: preserve Windows Testbox phone-home POST · openclaw/openclaw@8f75a4e
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -65,7 +65,7 @@ jobs:
|
65 | 65 | fi |
66 | 66 | runner_ssh_port="${BLACKSMITH_SSH_PORT:-22}" |
67 | 67 | |
68 | | - response="$(curl -s -f -L -X POST "${api_url}/api/testbox/phone-home" \ |
| 68 | + response="$(curl -s -f -L --post302 --post303 -X POST "${api_url}/api/testbox/phone-home" \ |
69 | 69 | -H "Content-Type: application/json" \ |
70 | 70 | -H "Authorization: Bearer ${auth_token}" \ |
71 | 71 | -d "{ |
@@ -155,7 +155,7 @@ jobs:
|
155 | 155 | } |
156 | 156 | JSON |
157 | 157 | |
158 | | - http_code="$(curl -sS -L -o "$RUNNER_TEMP/testbox-ready.response" -w '%{http_code}' \ |
| 158 | + http_code="$(curl -sS -L --post302 --post303 -o "$RUNNER_TEMP/testbox-ready.response" -w '%{http_code}' \ |
159 | 159 | -X POST "${api_url}/api/testbox/phone-home" \ |
160 | 160 | -H "Content-Type: application/json" \ |
161 | 161 | -H "Authorization: Bearer ${auth_token}" \ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。