Skip to content

Commit

Permalink
Assign output as value
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Aug 20, 2023
1 parent 00dec46 commit 8b744eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Ensure Installation was successful
id: pulsar-version
run: |
(
version=$((
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 >> $GITHUB_OUTPUT
).version) >> $GITHUB_OUTPUT
- name: Just a check
run: echo "${{ steps.pulsar-version.outputs }}"
Expand All @@ -40,4 +40,4 @@ jobs:
uses: thollander/actions-comment-pull-request@v2
with:
message: |
${{ steps.pulsar-version.outputs }}
${{ steps.pulsar-version.outputs.version }}

0 comments on commit 8b744eb

Please sign in to comment.