diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9cf294e..6dea1b2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,10 +18,6 @@ variables: steps: -- powershell: - env: - APIKEY: $(nuget-apikey) - - task: NuGetToolInstaller@1 - task: NuGetCommand@2 @@ -51,3 +47,5 @@ steps: publishLocation: 'Container' - script: nuget push -ApiKey $env:APIKEY -Source https://api.nuget.org/v3/index.json $(Build.ArtifactStagingDirectory)/**/*.nupkg + env: + APIKEY: $(nuget-apikey) \ No newline at end of file