Skip to content

Commit

Permalink
Assign GITHUB_OUTPUT as string, rather than object
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Aug 20, 2023
1 parent cdf4088 commit 00dec46
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ jobs:
- name: Ensure Installation was successful
id: pulsar-version
run: |
(
pulsar --version |
ConvertFrom-String -PropertyNames Application,Delimiter,Version |
Where-Object {$_.Application -eq "Pulsar" } >> $env:PulsarVersion
Where-Object {$_.Application -eq "Pulsar" } |
Select-Object -Property @{n='version'; e={ return "$($PSItem.Application) $($PSItem.Version)" }}
).version >> $GITHUB_OUTPUT
- name: Just a check
run: echo "${{ steps.pulsar-version.outputs }}"

- name: Write Comment
uses: thollander/actions-comment-pull-request@v2
with:
message: |
${{ github.env.PulsarVersion }}
${{ steps.pulsar-version.outputs }}

0 comments on commit 00dec46

Please sign in to comment.