Skip to content

Commit

Permalink
ci(appveyor) force failure when exit code is non-zero on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Jul 16, 2020
1 parent d979ee4 commit e3dd63d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .appveyor.yml
Expand Up @@ -26,7 +26,11 @@ install:
- sh: sudo apt-get update && sudo apt-get install -y libgit2-dev

build_script:
- ps: .\build.ps1 --target=CI --configuration=$env:CONFIGURATION --verbosity=Diagnostic
- ps: |
.\build.ps1 --target=CI --configuration=$env:CONFIGURATION --verbosity=Diagnostic
if ($LASTEXITCODE -ne 0) {
exit $LASTEXITCODE
}
- sh: ./build.sh --target=CI --configuration=$CONFIGURATION --verbosity=Diagnostic


Expand Down

0 comments on commit e3dd63d

Please sign in to comment.