0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-07-04 21:14:00 +00:00

Use task to get command output

This commit is contained in:
alex289 2023-07-08 19:17:15 +02:00
parent d719f79110
commit 6ddae7d499
No known key found for this signature in database
GPG Key ID: 573F77CD2D87F863

View File

@ -26,9 +26,10 @@ jobs:
run: dotnet tool install --global dotnet-outdated-tool run: dotnet tool install --global dotnet-outdated-tool
- name: Update packages - name: Update packages
uses: mathiasvr/command-output@v2.0.0
id: outdated id: outdated
run: | with:
echo "UPDATES=$(dotnet outdated ${{ env.solutionFile }} -u)" >> $GITHUB_OUTPUT run: dotnet outdated ${{ env.solutionFile }} -u
- name: Check for changes - name: Check for changes
id: changes id: changes
@ -61,7 +62,7 @@ jobs:
**Package Updates:** **Package Updates:**
``` ```
${{ steps.outdated.outputs.UPDATES }} ${{ steps.outdated.outputs.stdout }}
``` ```
Solution file: ${{ env.solutionFile }} Solution file: ${{ env.solutionFile }}