ci: retry performance report publishes · openclaw/openclaw@6d9df1f
steipete
·
2026-05-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -555,4 +555,14 @@ jobs:
|
555 | 555 | exit 0 |
556 | 556 | fi |
557 | 557 | git -C "$reports_root" commit -m "perf: add OpenClaw ${LANE_ID} report ${TESTED_SHA::12}" |
558 | | - git -C "$reports_root" push origin HEAD:main |
| 558 | + for attempt in 1 2 3 4 5; do |
| 559 | + if git -C "$reports_root" push origin HEAD:main; then |
| 560 | + exit 0 |
| 561 | + fi |
| 562 | + if [[ "$attempt" == "5" ]]; then |
| 563 | + exit 1 |
| 564 | + fi |
| 565 | + sleep $((attempt * 2)) |
| 566 | + git -C "$reports_root" fetch --depth=1 origin main |
| 567 | + git -C "$reports_root" rebase FETCH_HEAD |
| 568 | + done |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。