File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
azure-self-hosted-runners Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ If ($Ephemeral -ne 'true') {
275
275
}
276
276
277
277
Write-Output " Configuring the runner"
278
- cmd.exe / c " ${GitHubActionsRunnerPath} \config.cmd" -- unattended $EphemeralOption -- name ${GithubActionsRunnerName} -- runasservice -- labels $ ($GitHubAction.RunnerLabels ) -- url ${GithubActionsRunnerRegistrationUrl} -- token ${GitHubActionsRunnerToken}
278
+ cmd.exe / c " ${GitHubActionsRunnerPath} \config.cmd" -- unattended $EphemeralOption -- name ${GithubActionsRunnerName} -- windowslogonaccount " NT AUTHORITY\SYSTEM " -- runasservice -- labels $ ($GitHubAction.RunnerLabels ) -- url ${GithubActionsRunnerRegistrationUrl} -- token ${GitHubActionsRunnerToken}
279
279
280
280
# Ensure that the service was created. If not, exit with error code.
281
281
if ($null -eq (Get-Service - Name " actions.runner.*" )) {
You can’t perform that action at this time.
0 commit comments