Skip to content

Commit

Permalink
Changes for upload-artifact@v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayKMehta committed Feb 11, 2024
1 parent b9a5da7 commit 089da74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ jobs:
- name: Upload coverage into summary
run: cat $GITHUB_WORKSPACE/coveragereport/SummaryGithub.md >> $GITHUB_STEP_SUMMARY

# In v4, Artifacts are immutable (unless deleted). So you must change
# each of the uploaded Artifacts to have a different name and filter the
# downloads by name to achieve the same effect
- name: Archive code coverage results
# https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
name: code-coverage-report-${{ matrix.os }}
path: ./**/TestResults/**/*.cobertura.xml

0 comments on commit 089da74

Please sign in to comment.