Skip to content

Commit 7a091fb

Browse files
committed
myget source added
1 parent 4a0b1b4 commit 7a091fb

4 files changed

Lines changed: 27 additions & 5 deletions

File tree

.appveyor.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
os: Visual Studio 2017
1+
environment:
2+
MYGET_API_KEY:
3+
secure: nXDnbkmLZ0yeSj623ZeiGO+be5JhivxxrgiJ9lgHLVH/PKoI52UO2Kt6965QAAM+
4+
NUGET_API_KEY:
5+
secure: +0GZhozUx/pj7Dn0mIlAgFAEYz45uuEbdqH/2/VGNVtsL1GJDRB64qOmCx/tnWR
6+
7+
image: Visual Studio 2017
28

39
skip_tags: false
410

@@ -113,9 +119,16 @@ artifacts:
113119
- path: artifacts\$(APPVEYOR_PROJECT_NAME).$(RELEASE_VERSION).symbols.nupkg
114120

115121
deploy:
116-
provider: NuGet
117-
api_key:
118-
secure: +0GZhozUx/pj7Dn0mIlAgFAEYz45uuEbdqH/2/VGNVtsL1GJDRB64qOmCx/tnWR
122+
- provider: NuGet
123+
server: https://www.myget.org/F/partialresponse/api/v2
124+
api_key: $(MYGET_API_KEY)
125+
skip_symbols: false
126+
symbol_server: https://www.myget.org/F/partialresponse/symbols/api/v2/package
127+
on:
128+
appveyor_repo_tag: false
129+
130+
- provider: NuGet
131+
api_key: $(NUGET_API_KEY)
119132
skip_symbols: false
120133
artifact: /.*\.nupkg/
121134
on:

PartialResponse.AspNetCore.Mvc.Formatters.Json.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ EndProject
1616
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E51F9EAF-B010-4AFF-B44C-79E180E97093}"
1717
ProjectSection(SolutionItems) = preProject
1818
.appveyor.yml = .appveyor.yml
19+
nuget.config = nuget.config
1920
stylecop.json = stylecop.json
2021
EndProjectSection
2122
EndProject

nuget.config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear/>
5+
<add key="myget.org partialresponse" value="https://www.myget.org/F/partialresponse/api/v3/index.json" />
6+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
7+
</packageSources>
8+
</configuration>

src/PartialResponse.AspNetCore.Mvc.Formatters.Json/PartialResponse.AspNetCore.Mvc.Formatters.Json.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
</PropertyGroup>
2929

3030
<ItemGroup>
31-
<PackageReference Include="PartialResponse.Core" Version="0.0.0-ci.sha.929a19b.build.41" />
3231
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.0.0" />
3332
<PackageReference Include="Newtonsoft.Json" Version="10.0.1" />
33+
<PackageReference Include="PartialResponse.Core" Version="0.0.0-ci.sha.a31b16f.build.1" />
3434
</ItemGroup>
3535

3636
<ItemGroup>

0 commit comments

Comments
 (0)