From f273d4bc591b71aaa7ed900ccc6a5ee5636b669a Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Thu, 25 Dec 2025 17:37:07 +0300 Subject: [PATCH] Update Sophia.yml --- .github/workflows/Sophia.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Sophia.yml b/.github/workflows/Sophia.yml index 1be66f69..f90f173a 100644 --- a/.github/workflows/Sophia.yml +++ b/.github/workflows/Sophia.yml @@ -74,7 +74,8 @@ jobs: # Update Defender definitions & "$DefenderPath\MpCmdRun.exe" -SignatureUpdate -Verbose # Start scan - & "$DefenderPath\MpCmdRun.exe" -Scan -ScanType 3 -DisableRemediation -File Sophia_Script | ForEach-Object {Write-Verbose -Message $_ -Verbose} + # We need to use absolute path + & "$DefenderPath\MpCmdRun.exe" -Scan -ScanType 3 -DisableRemediation -File $((Get-Item -Path Sophia_Script).FullName) | ForEach-Object {Write-Verbose -Message $_ -Verbose} Get-Content -Path $env:TEMP\MpCmdRun.log