Skip to content

Commit fbd9005

Browse files
committed
use nugetconfig when restore
1 parent 0cf1441 commit fbd9005

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines.yml

+10
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,38 @@ stages:
3838
displayName: "restoring solution"
3939
inputs:
4040
command: 'restore'
41+
feedsToUse: config
42+
nugetConfigPath: "nuget.config"
4143
projects: "dotnet-anv.sln"
4244
- task: DotNetCoreCLI@2
4345
name: "build_solution"
4446
inputs:
4547
command: "build"
48+
feedsToUse: config
49+
nugetConfigPath: "nuget.config"
4650
configuration: "release"
4751
projects: "dotnet-anv.sln"
4852
- task: DotNetCoreCLI@2
4953
name: "test_solution"
5054
inputs:
5155
command: "test"
56+
feedsToUse: config
57+
nugetConfigPath: "nuget.config"
5258
configuration: "Release"
5359
projects: "dotnet-anv.sln"
5460
- task: DotNetCoreCLI@2
5561
name: "pack_solution"
5662
inputs:
5763
command: "pack"
64+
feedsToUse: config
65+
nugetConfigPath: "nuget.config"
5866
configuration: "release"
5967
packagesToPack: "dotnet-ansible-vault-decoder/dotnet-ansible-vault-decoder.csproj"
6068
- task: DotNetCoreCLI@2
6169
name: "publish_project"
6270
inputs:
71+
feedsToUse: config
72+
nugetConfigPath: "nuget.config"
6373
command: "custom"
6474
custom: "publish"
6575
arguments: "-c Release -r $(rid) -p:PackAsTool=false"

0 commit comments

Comments
 (0)