Skip to content

Commit

Permalink
refactor(dotnet): update bash logic for looping through multi-line st…
Browse files Browse the repository at this point in the history
…ring
  • Loading branch information
hknutsen committed Jan 7, 2025
1 parent 3526b9f commit efbb938
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,9 @@ jobs:
PROJECT: ${{ inputs.test_project }}
COLLECT: ${{ inputs.test_collect }}
run: |
echo "$PROJECT" |
while read -r p; do
dotnet test "$p" --configuration "$CONFIGURATION" --collect "$COLLECT"
done
while read -r project; do
dotnet test "$project" --configuration "$CONFIGURATION" --collect "$COLLECT"
done <<< "$PROJECT"
# Publish the application and its dependencies to a folder for deployment.
- name: Dotnet publish
Expand Down

0 comments on commit efbb938

Please sign in to comment.