mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 20:23:02 +08:00
[vcpkg ci] Remove src as well
This commit is contained in:
parent
276da906c5
commit
efffda88f0
@ -440,7 +440,7 @@ namespace vcpkg::Build
|
||||
auto buildtree_files = fs.get_files_non_recursive(buildtrees_dir);
|
||||
for (auto&& file : buildtree_files)
|
||||
{
|
||||
if (fs.is_directory(file) && file.filename() != "src")
|
||||
if (fs.is_directory(file)) // Will only keep the logs
|
||||
{
|
||||
std::error_code ec;
|
||||
fs.remove_all(file, ec);
|
||||
|
Loading…
Reference in New Issue
Block a user