Skip to content

Commit 08ab99b

Browse files
committed
Fixed the MyGet API key env var
1 parent ea10c87 commit 08ab99b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
- script: build -target BuildServer
77
env:
88
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
9-
MYGET_KEY: $(MYGET_API_KEY)
9+
MYGET_KEY: $(MYGET_KEY)
1010
- job: Linux
1111
pool:
1212
vmImage: 'ubuntu 16.04'
@@ -20,4 +20,4 @@ jobs:
2020
steps:
2121
- script: pwsh ./build.ps1 -target BuildServer
2222
env:
23-
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
23+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

build.cake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ Task("MyGet")
174174
throw new InvalidOperationException("Could not resolve MyGet API key.");
175175
}
176176

177-
Information(mygetKey.Substring(0, 2) + ".." + mygetKey.Substring(mygetKey.Length - 2));
178-
179177
foreach (var nupkg in GetFiles($"{ buildDir }/*.nupkg"))
180178
{
181179
NuGetPush(nupkg, new NuGetPushSettings

0 commit comments

Comments
 (0)