Quellcode durchsuchen

ci: unmute submodule clone on appveyor

Stefan Profanter vor 5 Jahren
Ursprung
Commit
a2d07b3e54
1 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen
  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