From 177de6d3e6458b0985f392289b1a4e7bd62a4f4f Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Sat, 17 Jan 2026 10:00:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E6=9B=B4=E6=96=B0=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=E4=B8=AD=E7=9A=84=E6=B5=8B=E8=AF=95=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉原始的 dotnet test 命令 - 添加带过滤输出的新测试命令,只显示测试总数、通过数和失败数 - 保持测试执行的正常流程不受影响 --- .github/workflows/auto-tag.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index 4f8e4cd..019ba77 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -61,7 +61,8 @@ jobs: - name: Build run: dotnet build -c Release --no-restore -p:DebugType=portable - name: Test - run: dotnet test --no-build -c Release --verbosity normal + # run: dotnet test --no-build -c Release --verbosity normal + run: dotnet test --no-build -c Release --verbosity normal 2>&1 | grep -E "测试总数|通过数|失败数" # 步骤三:计算下一个版本号(若未被跳过) # 自动解析当前最新标签并递增修订号生成新的语义化版本号 - name: Get next version