chore(ci): 更新 .NET 工具命令参数

- 将 DotnetCtrfJsonReporter 的输出参数从 -o 替换为 -d 和 -f
- 为 ctrf 输出目录添加显式指定参数
- 为输出文件名添加格式化参数
- 保持测试报告生成功能在测试后执行的逻辑不变
This commit is contained in:
GeWuYou 2026-01-29 20:02:24 +08:00
parent fe9f610c93
commit 8ea9752fc8

View File

@ -95,9 +95,11 @@ jobs:
dotnet tool run DotnetCtrfJsonReporter \
-p "$trx" \
-t nunit \
-o "ctrf/$name.json"
-d ctrf \
-f "$name.json"
done
# 生成并发布测试报告,无论测试成功或失败都会执行
- name: Test Report
uses: dorny/test-reporter@v2