From cc577870ace719944e083f83bd5cf5c3e2b4fe65 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli (W11-AI)" Date: Fri, 3 Jul 2026 18:04:23 +0200 Subject: [PATCH] update yaml --- .gitlab-ci.yml | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85edbbba..fb2f3d18 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,38 +10,9 @@ variables: # nota: cer creazione rules: https://docs.gitlab.com/ee/ci/jobs/job_control.html#common-if-clauses-for-rules # helper x fix pacchetti nuget da repo locale nexus.steamware.net -.nuget-fix: &nuget-fix - - | - echo "esecuzione Nuget FIX steps" - dotnet nuget list source - $hasSource = dotnet nuget list source | Select-String -Pattern "Steamware Nexus Proxy" - if (! [String]::IsNullOrWhiteSpace($hasSource)) { - dotnet nuget remove source "`"Steamware Nexus Proxy`"" - } - $hasSource = dotnet nuget list source | Select-String -Pattern "Steamware Nexus" - if (! [String]::IsNullOrWhiteSpace($hasSource)) { - dotnet nuget remove source "`"Steamware Nexus`"" - } - $hasSource = dotnet nuget list source | Select-String -Pattern "nexus-proxy-v3" - if (! [String]::IsNullOrWhiteSpace($hasSource)) { - dotnet nuget remove source nexus-proxy-v3 - } - $hasSource = dotnet nuget list source | Select-String -Pattern "nexus-hosted" - if (! [String]::IsNullOrWhiteSpace($hasSource)) { - dotnet nuget remove source nexus-hosted - } - $hasSource = dotnet nuget list source | Select-String -Pattern "Microsoft Visual Studio Offline Packages" - if (! [String]::IsNullOrWhiteSpace($hasSource)) { - dotnet nuget remove source 'Microsoft Visual Studio Offline Packages' - } - echo "Situazione sorgenti post remove:" - dotnet nuget list source - dotnet nuget add source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json -n nexus-proxy-v3 -u nugetUser -p $NEXUS_PASSWD --store-password-in-clear-text - dotnet nuget add source https://nexus.steamware.net/repository/nuget-hosted/ -n nexus-hosted -u nugetUser -p $NEXUS_PASSWD --store-password-in-clear-text - $hasSource = dotnet nuget list source - echo "Situazione sorgenti FINALE:" - dotnet nuget list source - +13|.nuget-fix: &nuget-fix +14| - dotnet restore "$env:SOL_NAME.sln" +15| - echo "Restore completato per $env:SOL_NAME" # helper x fix appsettings config nei casi installer / office .appsettings-fix: &appsettings-fix