ci: use domestic mirrors and persistent caches
This commit is contained in:
@@ -75,7 +75,7 @@ npm run build --prefix "$ROOT_DIR/frontend"
|
||||
|
||||
printf 'Publishing self-contained .NET application...\n'
|
||||
export NUGET_PACKAGES DOTNET_CLI_HOME
|
||||
RESTORE_SOURCES=(--source "https://api.nuget.org/v3/index.json")
|
||||
RESTORE_SOURCES=(--source "https://mirrors.huaweicloud.com/repository/nuget/v3/index.json")
|
||||
if [ -d "$NUGET_FEED" ]; then
|
||||
RESTORE_SOURCES=(--source "$NUGET_FEED" "${RESTORE_SOURCES[@]}")
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user