Update NuGet source URLs from aiursoft.cn to aiursoft.com in CI configuration and nuget.config

This commit is contained in:
Anduin Xue
2025-10-28 08:11:22 +00:00
parent 9d1d3f4b31
commit fd45121eca
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -8,8 +8,8 @@ stages:
before_script:
- 'export DOTNET_CLI_TELEMETRY_OPTOUT=1'
- 'export PATH=$PATH:$HOME/.dotnet/tools'
- 'which jb || dotnet tool install JetBrains.ReSharper.GlobalTools --global --add-source https://nuget.aiursoft.cn/v3/index.json --configfile ./nuget.config -v d'
- 'which reportgenerator || dotnet tool install dotnet-reportgenerator-globaltool --global --add-source https://nuget.aiursoft.cn/v3/index.json --configfile ./nuget.config -v d'
- 'which jb || dotnet tool install JetBrains.ReSharper.GlobalTools --global --add-source https://nuget.aiursoft.com/v3/index.json --configfile ./nuget.config -v d'
- 'which reportgenerator || dotnet tool install dotnet-reportgenerator-globaltool --global --add-source https://nuget.aiursoft.com/v3/index.json --configfile ./nuget.config -v d'
- 'echo "Hostname: $(hostname)"'
- 'dotnet --info'
@@ -97,7 +97,7 @@ deploy_local_nuget:
script:
- |
for file in $(find . -name "*.nupkg"); do
dotnet nuget push "$file" --api-key "$LOCAL_NUGET_API_KEY" --source "https://nuget.aiursoft.cn/v3/index.json" --skip-duplicate || exit 1;
dotnet nuget push "$file" --api-key "$LOCAL_NUGET_API_KEY" --source "https://nuget.aiursoft.com/v3/index.json" --skip-duplicate || exit 1;
done
only:
- master
+1 -1
View File
@@ -2,6 +2,6 @@
<configuration>
<packageSources>
<clear />
<add key="nuget" value="https://nuget.aiursoft.cn/v3/index.json" />
<add key="nuget" value="https://nuget.aiursoft.com/v3/index.json" />
</packageSources>
</configuration>