From 4f1720532b3ba238b85602fde232634d4e56d344 Mon Sep 17 00:00:00 2001 From: Nuget Ninja Date: Tue, 14 Oct 2025 05:02:32 +0000 Subject: [PATCH] Auto csproj fix and update by bot. --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c76516c..13d5850 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,10 @@ variables: restore: stage: build script: - - dotnet restore --no-cache --configfile nuget.config + - | + dotnet restore --no-cache --configfile nuget.config || \ + (echo "Restore failed. Retrying in 10 seconds..." && sleep 10 && dotnet restore --no-cache --configfile nuget.config) || \ + (echo "Restore failed again. Retrying in 20 seconds..." && sleep 20 && dotnet restore --no-cache --configfile nuget.config) build: stage: build