Skip to content

Commit

Permalink
Restore packages on build
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Apr 2, 2022
1 parent 4bbf769 commit 0067644
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ steps:
command: restore
restoreSolution: '**/*.sln'

- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
command: restore
projects: '**/*.csproj'
feedsToUse: 'select'
includeNuGetOrg: true

- task: VSBuild@1
displayName: Build
inputs:
Expand Down
8 changes: 8 additions & 0 deletions pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ steps:
command: restore
restoreSolution: '**/*.sln'

- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
command: restore
projects: '**/*.csproj'
feedsToUse: 'select'
includeNuGetOrg: true

- task: VSBuild@1
displayName: Build
inputs:
Expand Down

0 comments on commit 0067644

Please sign in to comment.