Skip to content

Commit

Permalink
Install correct dotnet Core version in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Hjelm committed Jul 7, 2023
1 parent 1e8c4d9 commit cbfc3de
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 @@ -9,6 +9,7 @@ variables:
BuildConfiguration: 'release'
major: 3
minor: 0
dotNetVersion: '3.1.x'

name: $(major).$(minor)$(rev:.r)

Expand All @@ -26,6 +27,11 @@ steps:
inputs:
VersionRegex: '\d+\.\d+\.\d+'

- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '$(dotNetVersion)'

- task: NuGetCommand@2
displayName: 'NuGet restore'
inputs:
Expand Down

0 comments on commit cbfc3de

Please sign in to comment.