From 2b513670425e372ac619e77bb3822917c744a1d2 Mon Sep 17 00:00:00 2001 From: GwWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Wed, 10 Dec 2025 11:05:59 +0800 Subject: [PATCH] =?UTF-8?q?build(workflow):=20=E6=9B=B4=E6=96=B0=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=B8=AD=E7=9A=84=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在构建命令中添加 portable 调试类型参数 - 调整构建参数顺序以优化工作流执行 - 保持 Release 配置不变 - 确保构建过程不进行还原操作 - 维持测试命令配置不变 --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 512b50c..eb6bb17 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,7 +40,7 @@ jobs: run: dotnet restore - name: Build - run: dotnet build --no-restore -c Release + run: dotnet build -c Release --no-restore -p:DebugType=portable - name: Test run: dotnet test --no-build -c Release --verbosity normal