소스 검색

ci: unmute submodule clone on appveyor

Stefan Profanter 5 년 전
부모
커밋
a2d07b3e54
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      tools/appveyor/install.ps1

+ 7 - 2
tools/appveyor/install.ps1

@@ -1,8 +1,13 @@
-$ErrorActionPreference = "Stop"
+$ErrorActionPreference = "Continue"
 
 try {
     & git submodule sync
-    & git submodule --quiet update --init --recursive
+    & git submodule update --init --recursive
+
+    if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
+        Write-Host -ForegroundColor Red "`n`n***Cloning submodules failed. Exiting ... ***"
+        exit $LASTEXITCODE
+    }
 
     Write-Host -ForegroundColor Green "`n### Installing sphinx ###`n"
     & cinst sphinx --source python