Skip to content

Commit 621e7fd

Browse files
committed
mkdir explicitly
1 parent e321dda commit 621e7fd

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/packaging/pre_build_nightly.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ echo "Installing torchstore dependencies..."
2727
pip install pygtrie
2828

2929
echo "Installing torchstore from main branch..."
30-
rm -rf /tmp/torchstore # Remove if exists from previous run
31-
git clone https://github.com/pytorch/torchstore.git /tmp/torchstore
32-
cd /tmp/torchstore
30+
TORCHSTORE_DIR="/tmp/torchstore-build"
31+
mkdir -p "$TORCHSTORE_DIR"
32+
cd "$TORCHSTORE_DIR"
33+
git clone https://github.com/pytorch/torchstore.git
34+
cd torchstore
3335
git checkout main
3436
pip install --no-deps .
3537
cd -

0 commit comments

Comments
 (0)