0
0
mirror of https://github.com/alex289/CleanArchitecture.git synced 2025-07-01 02:52:56 +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
- name: Update packages
uses: mathiasvr/command-output@v2.0.0
id: outdated
run: |
echo "UPDATES=$(dotnet outdated ${{ env.solutionFile }} -u)" >> $GITHUB_OUTPUT
with:
run: dotnet outdated ${{ env.solutionFile }} -u
- name: Check for changes
id: changes
@ -61,7 +62,7 @@ jobs:
**Package Updates:**
```
${{ steps.outdated.outputs.UPDATES }}
${{ steps.outdated.outputs.stdout }}
```
Solution file: ${{ env.solutionFile }}