Use IsTeamCity to determine if we're running on the CI
This commit is contained in:
parent
3b5a0db512
commit
43caef488c
|
|
@ -3,7 +3,7 @@ k-standard-goals
|
|||
|
||||
#push-packages target="verify"
|
||||
@{
|
||||
if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable("NUGET_PUBLISH_FEED")))
|
||||
if (IsTeamCity)
|
||||
{
|
||||
Environment.SetEnvironmentVariable("NUGET_PUBLISH_FEED", "https://dotnet.myget.org/F/aspnetcore-feature-work/api/v2/package");
|
||||
CallTarget("nuget-install");
|
||||
|
|
|
|||
Loading…
Reference in New Issue