ancora update yaml x nuget...

This commit is contained in:
Samuele Locatelli
2023-02-03 16:03:48 +01:00
parent 7533b60c29
commit f6b010d47b
+4 -5
View File
@@ -25,13 +25,12 @@ variables:
if (! [String]::IsNullOrWhiteSpace($hasSource)) {
dotnet nuget remove source 'Microsoft Visual Studio Offline Packages'
}
$hasSource = dotnet nuget list source | Select-String -Pattern "nuget.org"
if (! [String]::IsNullOrWhiteSpace($hasSource)) {
dotnet nuget remove source nuget.org
}
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-proxy-v3 -u nugetUser -p $NEXUS_PASSWD --store-password-in-clear-text
$hasSource = dotnet nuget list source
echo "Situazione sorgenti nuget:"
echo "Situazione sorgenti FINALE:"
dotnet nuget list source
# helper creazione hash files x IIS