diff options
author | lat9nq <lat9nq@gmail.com> | 2022-07-23 10:16:44 -0400 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-07-23 10:16:44 -0400 |
commit | 1d700f1dfa6a594792a9f6dfdcf6925ce09a49fc (patch) | |
tree | 01b8b9a64623731c54aad223a274cc6567243a2c | |
parent | da066e8ed8f5650a37990599c0b5a628d57335e8 (diff) |
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.
-rw-r--r-- | .ci/scripts/windows/upload.ps1 | 3 |
1 files changed, 3 insertions, 0 deletions
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 |