From 047647b04a4e4c995f429281651fc860a45bb631 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 17 Jan 2026 11:41:28 +0800 Subject: [PATCH] =?UTF-8?q?chore(workflow):=20=E6=9B=B4=E6=96=B0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E9=85=8D=E7=BD=AE=E4=BB=A5=E6=8C=87=E5=AE=9A=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E8=BE=93=E5=87=BA=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为dotnet test命令添加--results-directory参数, 将测试结果输出到./TestResults目录, 便于后续的测试报告处理和分析 --- .github/workflows/auto-tag.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index d1a63ae..d159588 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -65,8 +65,8 @@ jobs: dotnet test \ --no-build \ -c Release \ - --logger "trx;LogFileName=test-results.trx" - + --logger "trx;LogFileName=test-results.trx" \ + --results-directory ./TestResults # 指定统一的输出目录 - name: Test Report uses: dorny/test-reporter@v2 if: always()