Skip to content

Commit

Permalink
Update deploy-nuget-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phamhongphuc1403 authored May 31, 2024
1 parent 35a7939 commit 7f35d47
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy-nuget-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,17 @@ jobs:

- name: Restore dependencies
if: steps.dotnet_affected.outputs.has_output == 'true'
run: dotnet restore affected.proj
run: |
for proj in $(cat affected.proj); do
dotnet restore $proj
done
- name: Build affected projects
if: steps.dotnet_affected.outputs.has_output == 'true'
run: dotnet build affected.proj --configuration Release
run: |
for proj in $(cat affected.proj); do
dotnet build $proj --configuration Release
done
- name: Test affected projects
if: steps.dotnet_affected.outputs.has_output == 'true'
Expand Down

0 comments on commit 7f35d47

Please sign in to comment.