feat(ci): 添加.NET工具恢复步骤

在CI工作流中添加了.NET本地工具恢复步骤,确保构建过程中使用的本地工具能够正确安装和配置。
This commit is contained in:
GeWuYou 2026-01-29 17:15:29 +08:00
parent cfef1e1d03
commit c61f19126a

View File

@ -51,7 +51,9 @@ jobs:
# 执行NuGet包恢复操作
- name: Restore
run: dotnet restore
# 恢复.NET本地工具
- name: Restore .NET tools
run: dotnet tool restore
# 构建项目使用Release配置且跳过恢复步骤
- name: Build
run: dotnet build -c Release --no-restore