1
0
Fork 0
forked from suyu/suyu

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.
This commit is contained in:
lat9nq 2022-07-23 10:16:44 -04:00
parent da066e8ed8
commit 1d700f1dfa

View file

@ -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