From e46fdf97550a51bf9716a3e6f0fb197b77c13066 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 24 Mar 2020 08:34:52 -0600 Subject: [PATCH] Update appveyor.yml --- appveyor.yml | 50 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index bebc830..e906623 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,11 +1,9 @@ version: 1.0.{build} image: Visual Studio 2017 -configuration: Release - before_build: -- cmd: nuget restore src\Cardknox.sln - + - cmd: nuget restore src\Cardknox.sln + build: verbosity: minimal @@ -13,12 +11,38 @@ artifacts: - path: '\src\Cardknox.NET\bin\Release\Cardknox.API.Wrapper*.nupkg' name: NuGet -deploy: - provider: NuGet - api_key: - secure: bsuOjvFlRd5YC/icDolLT+5pX2ejr4OujY/brObPlc4xSsMJY9I1Gvi9QFLgzYuh - skip_symbols: false - skip_tags: true - artifact: /Cardknox.*\.nupkg/ - on: - branch: master +for: + +- + branches: + only: + - master + + configuration: Release + + deploy: + provider: NuGet + api_key: + secure: bsuOjvFlRd5YC/icDolLT+5pX2ejr4OujY/brObPlc4xSsMJY9I1Gvi9QFLgzYuh + skip_symbols: false + skip_tags: true + artifact: /Cardknox.*\.nupkg/ + on: + branch: master + +- + branches: + only: + - 5.0 + + configuration: Release + + deploy: + provider: NuGet + api_key: + secure: bsuOjvFlRd5YC/icDolLT+5pX2ejr4OujY/brObPlc4xSsMJY9I1Gvi9QFLgzYuh + skip_symbols: false + skip_tags: true + artifact: /Cardknox.*\.nupkg/ + on: + branch: 5.0