Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis authored Aug 11, 2023
1 parent 34842d1 commit 36aef23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage" --logger trx --results-directory coverage

- name: Copy Coverage To Predictable Location
run: cp coverage/*/coverage.cobertura.xml coverage/coverage.cobertura.xml
# run: cp coverage/*/coverage.cobertura.xml coverage/coverage.cobertura.xml
run: find coverage -type f -name coverage.cobertura.xml -exec cp -p {} coverage/coverage.cobertura.xml \;

- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
Expand Down Expand Up @@ -61,4 +62,4 @@ jobs:
with:
name: pr-number
path: ./pr-number.txt
retention-days: 1
retention-days: 1

0 comments on commit 36aef23

Please sign in to comment.