ci(nuget): 添加复制 NuGet 配置步骤
Some checks failed
Publish NuGet Packages / publish (push) Failing after 10s
Some checks failed
Publish NuGet Packages / publish (push) Failing after 10s
- 在 nuget 工作流程中增加复制 NuGet.Config 到指定目录的操作 - 确保构建环境使用正确的 NuGet 配置文件 - 提高缓存清理前配置文件的可用性和一致性
This commit is contained in:
parent
2abc87af8a
commit
7a71ef1daa
@ -22,6 +22,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: '10.0'
|
dotnet-version: '10.0'
|
||||||
|
|
||||||
|
- name: Copy NuGet Config
|
||||||
|
run: cp NuGet.Config ~/.nuget/NuGet/NuGet.Config
|
||||||
|
|
||||||
- name: Clean nuget cache
|
- name: Clean nuget cache
|
||||||
run: dotnet nuget locals all --clear
|
run: dotnet nuget locals all --clear
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user