Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
dotnet tool restore first
Browse files Browse the repository at this point in the history
  • Loading branch information
jfversluis committed Apr 19, 2023
1 parent 10d0c38 commit 981b5d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ stages:
cakeTarget: ci-release # We just want to build the library and nuget
macosImage: '' # We don't need the macOS build
preBuildSteps:
- task: DotNetCoreCLI@2
displayName: Restore dotnet tools
inputs:
command: custom
custom: tool
arguments: restore
- pwsh: |
$pr = "pr." + $env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER
$nuget = $env:BASE_VERSION + "-" + $pr + "." + $env:BUILD_NUMBER
Expand Down

0 comments on commit 981b5d7

Please sign in to comment.