diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 121fb64..b1234c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,14 +4,7 @@ variables: # helper x fix pacchetti nuget da repo locale nexus.steamware.net .nuget-fix: &nuget-fix - - | - $hasSource = C:\Tools\nuget.exe sources list | find "`"Steamware Nexus Proxy`"" /C - if ($hasSource -eq 0) { - C:\Tools\nuget.exe sources Add -Name "`"Steamware Nexus Proxy`"" -Source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json - } else { - C:\Tools\nuget.exe sources Update -Name "`"Steamware Nexus Proxy`"" -Source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json - } - echo $hasSource + - | $hasSource = C:\Tools\nuget.exe sources list | find "`"Steamware Nexus`"" /C if ($hasSource -eq 0) { C:\Tools\nuget.exe sources Add -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`"" @@ -19,6 +12,13 @@ variables: C:\Tools\nuget.exe sources Update -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`"" } echo $hasSource +# $hasSource = C:\Tools\nuget.exe sources list | find "`"Steamware Nexus Proxy`"" /C +# if ($hasSource -eq 0) { +# C:\Tools\nuget.exe sources Add -Name "`"Steamware Nexus Proxy`"" -Source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json +# } else { +# C:\Tools\nuget.exe sources Update -Name "`"Steamware Nexus Proxy`"" -Source https://nexus.steamware.net/repository/nuget-proxy-v3/index.json +# } +# echo $hasSource # .nuget-fix: &nuget-fix @@ -43,7 +43,7 @@ CORE.Api:build: tags: - win before_script: - - *nuget-fix + # - *nuget-fix - dotnet restore GPW.CORE.WRKLOG.sln script: - dotnet build GPW.CORE.Api/GPW.CORE.Api.csproj