Update .gitlab-ci.yml
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@ variables:
|
||||
NUGET_PATH: 'C:\Tools\nuget.exe'
|
||||
MSBUILD_PATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe'
|
||||
#hasSource: '& "$env:NUGET_PATH" sources list | find "`"Steamware Nexus`"" /C'
|
||||
hasSource: '0'
|
||||
#hasSource: '0'
|
||||
|
||||
|
||||
stages:
|
||||
@@ -31,7 +31,7 @@ build_job:
|
||||
stage: build
|
||||
script:
|
||||
- echo $env:hasSource
|
||||
- hasSource = '& "$env:NUGET_PATH" sources list | find "`"Steamware Nexus`"" /C'
|
||||
- $hasSource = '& "$env:NUGET_PATH" sources list | find "`"Steamware Nexus`"" /C'
|
||||
- if ( $hasSource -eq 0)
|
||||
{
|
||||
- '& "$env:NUGET_PATH" sources Add -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`""'
|
||||
|
||||
Reference in New Issue
Block a user