Skip to content

Commit

Permalink
Add nuget dependencies config file
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasg committed Apr 29, 2018
1 parent 60e3305 commit 19aa9a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dependencies/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net461" />
</packages>
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ deploy:
platform: Any CPU
appveyor_repo_tag: true # deploy on tag push only

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

build:
project: C:/projects/dependencies/Dependencies.sln
Expand All @@ -57,6 +59,9 @@ before_build:
&secure-file/tools/secure-file -decrypt "C:/projects/dependencies/DependenciesAppx/DependenciesAppx_TemporaryKey.pfx.enc" -secret "$($env:certsecret)" -out "C:/projects/dependencies/DependenciesAppx/DependenciesAppx_TemporaryKey.pfx";
}
# download all the necessary packages
nuget restore
after_test:
- ps: |
if ( $($env:platform) -eq "Any CPU") {
Expand Down

0 comments on commit 19aa9a3

Please sign in to comment.