CI: stop wiping shared bread-ecosystem clones mid-job
All checks were successful
dev release / build (push) Successful in 49s

Another product's gen-index step was deleting /tmp/bread-ecosystem-ci-*
between breadhelp's build and test, so the test step 127'd on a missing
ci/build.sh.
This commit is contained in:
Breadway 2026-08-16 13:46:28 +08:00
parent 5ae12e3701
commit d42d6632c6
2 changed files with 6 additions and 6 deletions

View file

@ -12,8 +12,8 @@ ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
REV="$(cat "${ROOT}/ci/bread-ecosystem.rev")"
CACHE_DIR="/tmp/bread-ecosystem-ci-${REV}"
if [ ! -d "$CACHE_DIR" ]; then
rm -rf /tmp/bread-ecosystem-ci-*
if [ ! -f "$CACHE_DIR/ci/build.sh" ]; then
rm -rf "$CACHE_DIR"
git clone https://git.breadway.dev/Breadway/bread-ecosystem.git "$CACHE_DIR"
git -C "$CACHE_DIR" checkout --quiet "$REV"
fi