Update .gitlab-ci.yml
This commit is contained in:
+3
-3
@@ -17,15 +17,15 @@ build_job:
|
||||
echo $env:hasSource
|
||||
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`""'
|
||||
$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
|
||||
#- '& "$env:NUGET_PATH" restore LPA.sln'
|
||||
'& "\$env:MSBUILD_PATH" LPA/LPA.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/'
|
||||
$env:MSBUILD_PATH LPA/LPA.csproj /p:DeployOnBuild=true /p:Configuration=Release /p:OutputPath=bin/
|
||||
|
||||
artifacts:
|
||||
expire_in: 365 days #artifcats will be stored only 365 days after this it will expire
|
||||
|
||||
Reference in New Issue
Block a user