build(workflow): 更新发布工作流中的构建命令

- 在构建命令中添加 portable 调试类型参数
- 调整构建参数顺序以优化工作流执行
- 保持 Release 配置不变
- 确保构建过程不进行还原操作
- 维持测试命令配置不变
This commit is contained in:
GwWuYou 2025-12-10 11:05:59 +08:00
parent cb04fd5b99
commit 2b51367042

View File

@ -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