Update .gitlab-ci.yml
This commit is contained in:
+8
-1
@@ -31,7 +31,14 @@ build_job:
|
||||
stage: build
|
||||
script:
|
||||
- echo $env:hasSource
|
||||
- '& "$env:NUGET_PATH" sources Add -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`""'
|
||||
if ($env:hasSource -eq 0)
|
||||
{
|
||||
- '& "$env:NUGET_PATH" sources Add -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`""'
|
||||
}
|
||||
else
|
||||
{
|
||||
- '& "$env:NUGET_PATH" sources Update -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`""'
|
||||
}
|
||||
- '& "$env:NUGET_PATH" restore'
|
||||
#- '& "$env:NUGET_PATH" restore LPA.sln'
|
||||
- '& "$env:MSBUILD_PATH" LPA/LPA.csproj /p:DeployOnBuild=true /p:Configuration=Release /p:OutputPath=sourcecode/'
|
||||
|
||||
Reference in New Issue
Block a user