diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ebdc0a7..3ea0c4c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,9 +26,5 @@ jobs: - name: Ensure Installation was successful id: pulsar-version run: | - ( - pulsar --version | - ConvertFrom-String -PropertyNames Application,Delimiter,Version | - Where-Object {$_.Application -eq "Pulsar" } | - Select-Object -Property @{n='version'; e={ return "$($PSItem.Application) $($PSItem.Version)" }} - ).version >> $env:GITHUB_STEP_SUMMARY + $version = (pulsar --version | Out-String) -Split '\n' -Like 'Pulsar*' -Replace 'Pulsar' -Replace ':' -Replace '\s' + echo "Pulsar $version" >> $env:GITHUB_STEP_SUMMARY