From 33db1ac5405570f6a8836b023ec9a974789c60ab Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Thu, 31 Aug 2023 18:40:25 +0200 Subject: [PATCH] Fix actions-runner-worker.ps1 (#155) --- compat/actions-runner-worker.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/actions-runner-worker.ps1 b/compat/actions-runner-worker.ps1 index 89eb528..16e43bb 100644 --- a/compat/actions-runner-worker.ps1 +++ b/compat/actions-runner-worker.ps1 @@ -42,7 +42,7 @@ echo "Wait for exit" Wait-Process -InputObject $proc $exitCode = $proc.ExitCode # https://github.com/actions/runner/blob/af6ed41bcb47019cce2a7035bad76c97ac97b92a/src/Runner.Common/Util/TaskResultUtil.cs#L13-L14 -if(($exitCode -ge 100) -or ($exitCode -le 105)) { +if(($exitCode -ge 100) -and ($exitCode -le 105)) { $conclusion = 0 } else { $conclusion = 1