Merge pull request #8627 from lat9nq/submodule-clean

ci/windows: Cleanup unused data in submodules before packaging
This commit is contained in:
liamwhite 2022-07-23 11:47:03 -04:00 committed by GitHub
commit a47fc62cea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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