Update .gitlab-ci.yml

This commit is contained in:
gitlab
2021-03-26 11:32:34 +00:00
parent 429c5a0bfb
commit 5072fe6f23
+3 -3
View File
@@ -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