PowerShell build should fail on error

This commit is contained in:
Jeremy Rimpo
2020-09-21 05:17:22 -05:00
parent 0f33ee2176
commit c5be2c3605
+3 -1
View File
@@ -8,7 +8,9 @@ build:
parallel: true
build_script:
- pwsh: >-
git clone --depth=1 https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella
$ErrorActionPreference = Stop
git clone --depth=1 --no-single-branch https://github.com/ModOrganizer2/modorganizer-umbrella.git c:\projects\modorganizer-umbrella
New-Item -ItemType Directory -Path c:\projects\modorganizer-build