winpeas networkinfo test ci/cd

This commit is contained in:
carlospolop 2025-05-24 23:16:31 +02:00
parent c288f3a810
commit 4fbe6ffd79

View File

@ -99,6 +99,17 @@ jobs:
Write-Error "winPEAS.exe not found at $exePath" Write-Error "winPEAS.exe not found at $exePath"
} }
- name: Execute winPEAS networkinfo
shell: pwsh
run: |
$Configuration = "Release"
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
if (Test-Path $exePath) {
& $exePath networkinfo
} else {
Write-Error "winPEAS.exe not found at $exePath"
}
# Copy the built versions # Copy the built versions
- name: Copy all versions - name: Copy all versions
run: | run: |