Move macOS Bazel cache outside checkout
This commit is contained in:
parent
8e95014840
commit
5150faad99
2 changed files with 11 additions and 2 deletions
|
|
@ -132,8 +132,14 @@ if [[ -z "$cache_root" ]]; then
|
|||
break
|
||||
fi
|
||||
done
|
||||
elif ensure_dir "$PWD/.nscloud-cache"; then
|
||||
cache_root="$PWD/.nscloud-cache"
|
||||
else
|
||||
tmp_root="${RUNNER_TEMP:-${TMPDIR:-/tmp}}/burrow-nscloud-cache"
|
||||
for candidate in "$tmp_root" "$PWD/.nscloud-cache"; do
|
||||
if ensure_dir "$candidate"; then
|
||||
cache_root="$candidate"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue