Skip to content

Commit edfcd8c

Browse files
author
Bart Koelman
committed
Abort build when install failed
1 parent f0d638f commit edfcd8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

appveyor.yml

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ for:
4343
git checkout $env:APPVEYOR_REPO_BRANCH -q
4444
}
4545
choco install docfx -y
46+
if ($lastexitcode -ne 0) {
47+
throw "docfx install failed with exit code $lastexitcode."
48+
}
4649
after_build:
4750
- pwsh: |
4851
CD ./docs

0 commit comments

Comments
 (0)