소스 검색

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.
lat9nq 4 년 전
부모
커밋
1d700f1dfa
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      .ci/scripts/windows/upload.ps1

+ 3 - 0
.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