File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 2828 - name : Test
2929 run : dotnet test --no-build --verbosity normal --blame-hang-timeout 5min
3030
31+ # copy the HTML report to a guaranteed path
32+ - name : Locate test report
33+ shell : pwsh
34+ run : |
35+ $report = Get-ChildItem -Recurse -Filter MiloLib_RoundTrip_TestReport.html | Select-Object -First 1
36+ if (-not $report) {
37+ Write-Error "MiloLib_RoundTrip_TestReport.html not found"
38+ exit 1
39+ }
40+ Copy-Item $report.FullName -Destination MiloLib_RoundTrip_TestReport.html -Force
41+
3142 - name : Publish
3243 run : dotnet publish -c Release -o publish
3344
5465 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5566 with :
5667 upload_url : ${{ steps.create_release.outputs.upload_url }}
57- asset_path : ' **/ MiloLib_RoundTrip_TestReport.html'
68+ asset_path : MiloLib_RoundTrip_TestReport.html
5869 asset_name : MiloLib_RoundTrip_TestReport.html
5970 asset_content_type : text/html
6071
You can’t perform that action at this time.
0 commit comments