Treasury & Bank Transfer Management System — سامانه مدیریت خزانه‌داری و حواله‌های بانکی

Use literal-safe SQL-independent NSIS target and executable recognition patterns

davoodmehraban89 committed Oct 18, 2026 at 06:21 UTC 1589d148231149f4ffd0dff2a50b94458aeb7839
1 file changed +1 -1
.github/workflows/windows-v6-rebuilt-installed-gui-lab-once.yml
+1 -1
@@ -103,7 +103,7 @@ jobs:
103 $outDir=Join-Path $env:TF_PRIVATE_STAGE 'release'
104 $topLevelExe=@(Get-ChildItem -LiteralPath $outDir -File -Filter '*.exe' -ErrorAction SilentlyContinue)
105 $nestedExe=@(Get-ChildItem -LiteralPath $outDir -Recurse -File -Filter '*.exe' -ErrorAction SilentlyContinue)
106 - $targetConfirmed=[bool]($txt -match '(?i)target=nsis(\\s|$)')
106 + $targetConfirmed=[bool]($txt -match 'target=nsis')
107 Write-Host ("BUILDER_TOP_LEVEL_EXE_COUNT="+$topLevelExe.Count)
108 Write-Host ("BUILDER_NESTED_EXE_COUNT="+$nestedExe.Count)
109 Write-Host ("BUILDER_LOG_NSIS_TARGET_CONFIRMED="+$targetConfirmed)