From 1d700f1dfa6a594792a9f6dfdcf6925ce09a49fc Mon Sep 17 00:00:00 2001 From: lat9nq Date: Sat, 23 Jul 2022 10:16:44 -0400 Subject: ci/windows: Cleanup unused data before packaging vcpkg data takes up a lot of space, and currently the scripts will package all that data with the source archive which is unnecessary. --- .ci/scripts/windows/upload.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/scripts/windows/upload.ps1 b/.ci/scripts/windows/upload.ps1 index 62483607b..818fd0770 100644 --- a/.ci/scripts/windows/upload.ps1 +++ b/.ci/scripts/windows/upload.ps1 @@ -25,6 +25,9 @@ $env:BUILD_UPDATE = $MSVC_SEVENZIP $BUILD_DIR = ".\build\bin\Release" +# Cleanup unneeded data in submodules +git submodule foreach git clean -fxd + # Upload debugging symbols mkdir pdb Get-ChildItem "$BUILD_DIR\" -Recurse -Filter "*.pdb" | Copy-Item -destination .\pdb -- cgit v1.2.3