1 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

View File

@@ -18,23 +18,11 @@ jobs:
uses: http://MonBianG.lan:3000/action/setup-dotnet@v4.3.0 uses: http://MonBianG.lan:3000/action/setup-dotnet@v4.3.0
with: with:
dotnet-version: 8.0.x dotnet-version: 8.0.x
# 华为云和腾讯云的 NuGet 镜像配置
- name: Configure NuGet mirror
run: |
cat > nuget.config << 'EOF'
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="huawei-mirror" value="https://repo.huaweicloud.com/repository/nuget/v3/index.json" />
<add key="tencent" value="https://mirrors.cloud.tencent.com/nuget/" />
</packageSources>
</configuration>
EOF
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore 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