Skip to content

Commit

Permalink
Install .NET 6 before installing NBGV (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
tydunkel authored Jun 28, 2023
1 parent 4af6aa0 commit b238e44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inc/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ parameters:
Sign: false

steps:
- task: UseDotNet@2
displayName: "Install .NET SDK"
inputs:
packageType: sdk
version: 6.x

- powershell: |
dotnet tool install --tool-path "${env:AGENT_TOOLSDIRECTORY}\nbgv" nbgv
$version = & "${env:AGENT_TOOLSDIRECTORY}\nbgv\nbgv.exe" get-version --variable SemVer1
Expand Down

0 comments on commit b238e44

Please sign in to comment.