From 21234e5f75b4609669baede068d609c0937fee45 Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Mon, 7 Dec 2020 17:52:25 +0100 Subject: [PATCH] Added setApiKey step --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 55d1db1..afc42a2 100755 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,6 @@ orbs: jobs: build-and-publish: executor: win/default - steps: - checkout - run: @@ -19,8 +18,12 @@ jobs: name: Pack NuGet command: cd GrasshopperAsyncComponent; nuget pack GrasshopperAsyncComponent.csproj -Prop Configuration=Release - run: - name: Pack NuGet - command: nuget push ${NUGET_AUTH_TOKEN} -Source https://api.nuget.org/v3/index.json *.nupkg + name: Set nuget Api Key + command: | + nuget setApiKey $NUGET_AUTH_TOKEN + - run: + name: Push NuGet + command: nuget push *.nupkg -Source https://api.nuget.org/v3/index.json workflows: