File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,8 @@ jobs:
337337
338338 # build tinygltf
339339 if [ ! -f "${LOCAL_INSTALL}/lib/cmake/tinygltf/tinygltfConfig.cmake" ]; then
340+ # Clean up any partial/failed clones before re-attempting
341+ rm -rf "${WORK_ROOT}/tinygltf" "${WORK_ROOT}/tinygltf-build"
340342 git clone --depth 1 https://github.com/syoyo/tinygltf.git "${WORK_ROOT}/tinygltf"
341343 cmake -S "${WORK_ROOT}/tinygltf" -B "${WORK_ROOT}/tinygltf-build" -G Ninja \
342344 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF \
@@ -348,6 +350,8 @@ jobs:
348350
349351 # build ktx
350352 if [ ! -f "${LOCAL_INSTALL}/lib/cmake/KTX/KTXConfig.cmake" ]; then
353+ # Clean up any partial/failed clones before re-attempting
354+ rm -rf "${WORK_ROOT}/KTX-Software" "${WORK_ROOT}/KTX-Software-build"
351355 git clone --depth 1 --branch v4.3.2 https://github.com/KhronosGroup/KTX-Software.git "${WORK_ROOT}/KTX-Software"
352356 cmake -S "${WORK_ROOT}/KTX-Software" -B "${WORK_ROOT}/KTX-Software-build" -G Ninja \
353357 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF \
You can’t perform that action at this time.
0 commit comments