Skip to content

Commit

Permalink
Test local collect
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammedSentry committed Jun 6, 2024
1 parent a1209ad commit 14f8b88
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,16 @@ jobs:
# Find metricshub.exe and run it
$exe_path = Get-ChildItem -Path artifacts -Recurse -Filter metricshub.exe | Select-Object -First 1
Write-Host "Found metricshub.exe at $($exe_path.FullName)"
Set-Location artifacts\metricshub
& metricshub.exe --version
& $exe_path.FullName --version
- name: MetricsHub localhost collect
shell: pwsh
run: |
Write-Host "Metrics for localhost:"
# Find metricshub.exe and run it
$exe_path = Get-ChildItem -Path artifacts -Recurse -Filter metricshub.exe | Select-Object -First 1
Write-Host "Found metricshub.exe at $($exe_path.FullName)"
& $exe_path.FullName localhost -t win --wmi --connectors Windows
- name: List downloaded files
shell: pwsh
Expand Down

0 comments on commit 14f8b88

Please sign in to comment.