Skip to content

Commit

Permalink
Update CI-master_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop authored Oct 1, 2024
1 parent e6e1145 commit 6fa12e0
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/CI-master_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
echo "build Any CPU"
msbuild -m $env:Solution_Path /t:Rebuild /p:Configuration=$env:Configuration /p:Platform="Any CPU"
- name: Execute winPEAS
- name: Execute winPEAS -h
shell: pwsh
run: |
$Configuration = "Release"
Expand All @@ -76,6 +76,28 @@ jobs:
} else {
Write-Error "winPEAS.exe not found at $exePath"
}
- name: Execute winPEAS domain
shell: pwsh
run: |
$Configuration = "Release"
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
if (Test-Path $exePath) {
& $exePath domain
} else {
Write-Error "winPEAS.exe not found at $exePath"
}
- name: Execute winPEAS systeminfo
shell: pwsh
run: |
$Configuration = "Release"
$exePath = "winPEAS/winPEASexe/winPEAS/bin/$Configuration/winPEAS.exe"
if (Test-Path $exePath) {
& $exePath systeminfo
} else {
Write-Error "winPEAS.exe not found at $exePath"
}
# Copy the built versions
- name: Copy all versions
Expand Down

0 comments on commit 6fa12e0

Please sign in to comment.