Skip to content

Commit

Permalink
Update pipeline to use nuget instead of dotnetcore. (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sina-Soltani authored Oct 19, 2020
1 parent 0bdedac commit 18df367
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Parbad.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
.gitattributes = .gitattributes
.gitignore = .gitignore
appveyor.yml = appveyor.yml
azure-pipelines.yml = azure-pipelines.yml
images\How-it-works.png = images\How-it-works.png
LICENSE.txt = LICENSE.txt
Expand Down Expand Up @@ -49,7 +48,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parbad.Gateway.IdPay", "src
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parbad.Gateway.Sepehr", "src\Parbad.Gateway\Sepehr\src\Parbad.Gateway.Sepehr.csproj", "{3DE7D493-E7DF-4FEA-B589-2A38C19BC6E5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Parbad.Gateway.YekPay", "src\Parbad.Gateway\YekPay\src\Parbad.Gateway.YekPay.csproj", "{9AAFC4B2-678C-4C80-9F1E-8D97C029E598}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Parbad.Gateway.YekPay", "src\Parbad.Gateway\YekPay\src\Parbad.Gateway.YekPay.csproj", "{9AAFC4B2-678C-4C80-9F1E-8D97C029E598}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
10 changes: 8 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ variables:
projects: 'src/**/*.csproj'

steps:
- task: DotNetCoreCLI@2
- task: NuGetToolInstaller@1
displayName: 'Use Nuget'
inputs:
versionSpec:
checkLatest: true
- task: NuGetCommand@2
displayName: 'restoring'
inputs:
command: 'restore'
projects: '**/*.csproj'
restoreSolution: '**/*.sln'
feedsToUse: 'select'
- task: DotNetCoreCLI@2
displayName: 'building'
inputs:
Expand Down

0 comments on commit 18df367

Please sign in to comment.