mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-19 07:42:04 +00:00
ci: retry performance report publishes
This commit is contained in:
parent
db5f96cdc1
commit
6d9df1f25a
1 changed files with 11 additions and 1 deletions
12
.github/workflows/openclaw-performance.yml
vendored
12
.github/workflows/openclaw-performance.yml
vendored
|
|
@ -555,4 +555,14 @@ jobs:
|
|||
exit 0
|
||||
fi
|
||||
git -C "$reports_root" commit -m "perf: add OpenClaw ${LANE_ID} report ${TESTED_SHA::12}"
|
||||
git -C "$reports_root" push origin HEAD:main
|
||||
for attempt in 1 2 3 4 5; do
|
||||
if git -C "$reports_root" push origin HEAD:main; then
|
||||
exit 0
|
||||
fi
|
||||
if [[ "$attempt" == "5" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
sleep $((attempt * 2))
|
||||
git -C "$reports_root" fetch --depth=1 origin main
|
||||
git -C "$reports_root" rebase FETCH_HEAD
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue