mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Revert "Cleanup stale submodule directories in checkout action (#161748)"
This reverts commit f3c5a82139.
Reverted https://github.com/pytorch/pytorch/pull/161748 on behalf of https://github.com/malfet due to I put the check in the wrong place ([comment](https://github.com/pytorch/pytorch/pull/161748#issuecomment-3237080419))
This commit is contained in:
parent
f0a65cd6d6
commit
823a329984
2
.github/actions/checkout-pytorch/action.yml
vendored
2
.github/actions/checkout-pytorch/action.yml
vendored
|
|
@ -43,8 +43,6 @@ runs:
|
|||
sudo git clean -ffdx
|
||||
else
|
||||
git clean -ffdx
|
||||
# Do the same for submodules, should cleanup stale submodule dirs
|
||||
git submodule foreach --recursive git clean -ffdx
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user