3 Commits

Author SHA1 Message Date
Yue-bin
c3f48b9fde chore(workflow): another try
Some checks failed
Publish Release / build (push) Failing after 3m54s
2026-06-11 01:56:00 +08:00
Yue-bin
7c203f130a chore(workflow): 配置华为云和腾讯云NuGet镜像以提升包恢复速度
Some checks failed
Publish Release / build (push) Failing after 4m16s
# 华为云和腾讯云的 NuGet 镜像配置
- 替换原有的网络诊断步骤为NuGet镜像配置
- 添加华为云和腾讯云的NuGet源到nuget.config文件
- 修改dotnet restore命令使用配置文件而非直接指定源地址
2026-06-10 17:41:36 +08:00
Yue-bin
3d82f43bfe chore(ci): 添加网络诊断步骤以排查NuGet恢复问题
Some checks failed
Publish Release / build (push) Has been cancelled
添加了网络诊断步骤,包括DNS测试、curl连接测试和代理环境检查,
以便更好地排查NuGet包恢复时的网络连接问题。
2026-06-10 17:35:53 +08:00

View File

@@ -20,7 +20,9 @@ jobs:
dotnet-version: 8.0.x dotnet-version: 8.0.x
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore --source "https://repo.huaweicloud.com/repository/nuget/v3/index.json" run: dotnet restore
env:
DOTNET_RESTORE_SOURCES: "https://repo.huaweicloud.com/repository/nuget/v3/index.json"
- name: Build - name: Build
run: dotnet build --no-restore --configuration Release run: dotnet build --no-restore --configuration Release