ci: normalize Windows toolcache paths · openclaw/openclaw@03ae999
steipete
·
2026-05-27
·
via Recent Commits to openclaw:main
File tree
.github/actions/setup-pnpm-store-cache
| Original file line number | Diff line number | Diff line change |
|---|
@@ -57,6 +57,9 @@ openclaw_find_toolcache_node() {
|
57 | 57 | "/Users/runner/hostedtoolcache" \ |
58 | 58 | "/c/hostedtoolcache/windows" |
59 | 59 | do |
| 60 | +if [[ ! -d "$root" && "$root" == *\\* ]] && command -v cygpath >/dev/null 2>&1; then |
| 61 | + root="$(cygpath -u "$root" 2>/dev/null || printf '%s' "$root")" |
| 62 | +fi |
60 | 63 | if [[ -d "$root/node" ]]; then |
61 | 64 | roots+=("$root/node") |
62 | 65 | elif [[ "$(basename "$root")" == "node" && -d "$root" ]]; then |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。