mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:10:45 +00:00
fix(ci): harden package acceptance refs
This commit is contained in:
@@ -85,7 +85,13 @@ docker run --rm \
|
||||
trap cleanup_inner EXIT
|
||||
trap dump_gateway_log_on_error ERR
|
||||
gateway_ready=0
|
||||
for _ in \$(seq 1 160); do
|
||||
for _ in \$(seq 1 480); do
|
||||
if ! kill -0 \"\$gateway_pid\" >/dev/null 2>&1; then
|
||||
echo \"Gateway exited before becoming ready\"
|
||||
wait \"\$gateway_pid\" || true
|
||||
tail -n 120 /tmp/mcp-channels-gateway.log 2>/dev/null || true
|
||||
exit 1
|
||||
fi
|
||||
if grep -q '\[gateway\] ready' /tmp/mcp-channels-gateway.log 2>/dev/null; then
|
||||
gateway_ready=1
|
||||
break
|
||||
|
||||
@@ -436,6 +436,7 @@ async function resolveCandidate(options) {
|
||||
}
|
||||
await appendGithubOutputs(options.githubOutput, {
|
||||
package_name: pkg.name,
|
||||
package_source_sha: packageSourceSha,
|
||||
package_version: pkg.version,
|
||||
sha256: digest,
|
||||
tarball: metadata.tarball,
|
||||
|
||||
Reference in New Issue
Block a user