5 Commits

Author SHA1 Message Date
Yue-bin
63b0ab1393 chore(ci): 配置.NET构建工作流代理设置
All checks were successful
Publish Release / build (push) Successful in 33s
为解决依赖包还原问题,在Gitea工作流中添加HTTP/HTTPS代理配置,
包括代理服务器地址和本地网络排除规则。
2026-06-11 02:11:04 +08:00
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
cf2c581716 chore(ci): 使用华为镜像
Some checks failed
Publish Release / build (push) Failing after 3m54s
2026-06-10 17:18:45 +08:00

View File

@@ -18,9 +18,14 @@ jobs:
uses: http://MonBianG.lan:3000/action/setup-dotnet@v4.3.0
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
# 直接加代理得了
env:
http_proxy: "http://172.17.0.1:7890"
https_proxy: "http://172.17.0.1:7890"
no_proxy: "localhost,127.0.0.1,*.lan"
- name: Build
run: dotnet build --no-restore --configuration Release