diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d52b398..f4c2f93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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