mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 21:34:28 +08:00
feat(ci): 添加.NET工具恢复步骤
在CI工作流中添加了.NET本地工具恢复步骤,确保构建过程中使用的本地工具能够正确安装和配置。
This commit is contained in:
parent
cfef1e1d03
commit
c61f19126a
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -51,7 +51,9 @@ jobs:
|
|||||||
# 执行NuGet包恢复操作
|
# 执行NuGet包恢复操作
|
||||||
- name: Restore
|
- name: Restore
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
# 恢复.NET本地工具
|
||||||
|
- name: Restore .NET tools
|
||||||
|
run: dotnet tool restore
|
||||||
# 构建项目,使用Release配置且跳过恢复步骤
|
# 构建项目,使用Release配置且跳过恢复步骤
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build -c Release --no-restore
|
run: dotnet build -c Release --no-restore
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user