Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid committed Oct 1, 2024
1 parent d216ea2 commit 135d176
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ param(
[string]$HttpStartPath
)

function Exit-OnError() {
# There appears to be a known problem in GitHub Action's `pwsh` shell preventing it from failing fast on an error:
# https://github.com/actions/runner-images/issues/6668#issuecomment-1364540817
# Therefore, we manually check if there was an error an fail if so.
if (!$LASTEXITCODE.Equals(0)) {exit $LASTEXITCODE}
}

Start-Sleep -Seconds 30

try {
Expand Down

0 comments on commit 135d176

Please sign in to comment.