ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf
steipete
·
2026-04-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -677,9 +677,10 @@ jobs:
|
677 | 677 | -c protocol.version=2 \ |
678 | 678 | -c "http.https://github.com/.extraheader=AUTHORIZATION: basic ${auth_header}" \ |
679 | 679 | fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \ |
680 | | - "+${CHECKOUT_SHA}:refs/remotes/origin/ci-target" |
| 680 | + "+${CHECKOUT_SHA}:refs/remotes/origin/ci-target" || return 1 |
681 | 681 | |
682 | | - git -C "$workdir" checkout --force --detach "$CHECKOUT_SHA" |
| 682 | + git -C "$workdir" checkout --force --detach "$CHECKOUT_SHA" || return 1 |
| 683 | + test -f "$workdir/.github/actions/setup-node-env/action.yml" || return 1 |
683 | 684 | echo "checkout attempt ${attempt}/2 succeeded" |
684 | 685 | } |
685 | 686 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。