diff --git a/.github/workflows/windows-nightly-ci.yml b/.github/workflows/windows-nightly-ci.yml index fe29c03..a92f66f 100644 --- a/.github/workflows/windows-nightly-ci.yml +++ b/.github/workflows/windows-nightly-ci.yml @@ -64,11 +64,11 @@ jobs: $logPathErr = "C:\Users\nonadmin\Documents\actions-runner\work\run-tests-error.log" # Debug: Print the command - echo "Executing PsExec: & '$psExecPath' -accepteula -nobanner -u nonadmin -p 'pass123!' powershell.exe -Command \"& { & '$scriptPath' }\"" + echo "Executing PsExec: & '$psExecPath' -accepteula -nobanner -u nonadmin -p 'pass123!' powershell.exe -Command \"`& { `& '$scriptPath' }\"" # Properly quote the PsExec command - & $psExecPath -accepteula -nobanner -u nonadmin -p "pass123!" powershell.exe -Command "& { & '$scriptPath' }" - + & $psExecPath -accepteula -nobanner -u nonadmin -p "pass123!" powershell.exe -Command "`& { `& '$scriptPath' }" + # Debug: Check if log files exist if (-Not (Test-Path -Path $logPathOut)) { Write-Output "Log file does not exist: $logPathOut"