From fbc0dffc4eaf5e5d1dc213b0e5635f29e0592a6b Mon Sep 17 00:00:00 2001 From: Evan Hemsley <2342303+ehemsley@users.noreply.github.com> Date: Wed, 26 Jun 2019 22:29:41 -0700 Subject: [PATCH] more CI --- .circleci/config.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b415d24..d07daea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,6 +16,8 @@ jobs: - run: dotnet restore - run: dotnet build -c Release - run: dotnet test -c Release + - persist_to_workspace: + root: . deploy: <<: *defaults @@ -23,16 +25,13 @@ jobs: - checkout - attach_workspace: at: . - - run: - name: deploy to NuGet - command: | - dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE + - run: dotnet nuget push ./encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -k $API_KEY -s $NUGET_SOURCE workflows: version: 2 test_and_deploy: jobs: - - test + test - deploy: requires: - test