Update CI-master_tests.yml

This commit is contained in:
SirBroccoli 2024-10-01 05:27:30 +02:00 committed by GitHub
parent c5775dda59
commit d37ebda1b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,8 +66,16 @@ jobs:
echo "build Any CPU"
msbuild -m $env:Solution_Path /t:Rebuild /p:Configuration=$env:Configuration /p:Platform="Any CPU"
- name: Execute winpeas
run: winPEAS\winPEASexe\winPEAS\bin\$env:Configuration\winPEAS.exe
- name: Execute winPEAS
shell: pwsh
run: |
$Configuration = "Release"
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
if (Test-Path $exePath) {
& $exePath
} else {
Write-Error "winPEAS.exe not found at $exePath"
}
# Copy the built versions
- name: Copy all versions