diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index bb7e1f63..3e938798 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -61,7 +61,7 @@ jobs:
- uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
name: Upload coverage to Codecov
with:
- file: ./artifacts/coverage/coverage.net8.0.cobertura.xml
+ file: ./artifacts/coverage/coverage.cobertura.xml
flags: ${{ matrix.os_name }}
token: ${{ secrets.CODECOV_TOKEN }}
diff --git a/Directory.Build.targets b/Directory.Build.targets
index a6a77799..7a454ddf 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -25,7 +25,7 @@
HTML
$(ReportGeneratorReportTypes);MarkdownSummaryGitHub
$([System.IO.Path]::Combine($(ArtifactsPath), 'coverage'))
- $([System.IO.Path]::Combine($(ReportGeneratorTargetDirectory), 'coverage.$(TargetFramework).json'))
+ $([System.IO.Path]::Combine($(ReportGeneratorTargetDirectory), 'coverage.json'))
<_MarkdownSummaryPrefix><details><summary>:chart_with_upwards_trend: <b>$(AssemblyName) Code Coverage report</b></summary>
<_MarkdownSummarySuffix></details>