Skip to content

Commit

Permalink
Final fix to appveyor config.
Browse files Browse the repository at this point in the history
  • Loading branch information
babelshift committed Jun 30, 2017
1 parent 75ecc8b commit a615dcf
Showing 1 changed file with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
version: 1.0.0.{build}

image: Visual Studio 2017

branches:
only:
- master

configuration: Release

build:
project: ProPublicaCongressAPI.sln
publish_nuget: true
include_nuget_references: true

cache:
- packages -> **\packages.config

before_build:
- cmd: nuget restore

after_build:
build_script:
- ps: >-
nuget restore
$xmlPath = "$env:appveyor_build_folder\ProPublicaCongressAPI\ProPublicaCongressAPI.csproj"
$xml = [xml](get-content $xmlPath)
Expand All @@ -31,11 +15,12 @@ after_build:
$xml.Save($xmlPath)
msbuild $xmlPath /t:pack
msbuild $xmlPath /t:pack /p:Configuration=Release
artifacts:
- path: '**\*.nupkg'
name: NuGet
deploy:
provider: NuGet
- provider: NuGet
api_key:
secure: vIHuOdB4aYJEqNACb3jjCg3m/qZLqpwYlruu8J0BOiX81lRrmussVEUqiWRBTrRQ
skip_symbols: false
artifact: /.*\.nupkg/
skip_symbols: true

0 comments on commit a615dcf

Please sign in to comment.