Adding step to add dotnet version 2.1.x (#813)

* Adding step to add dotnet version 2.1.x

* updating displayName
This commit is contained in:
Eddy Nakamura 2020-07-14 13:47:51 -03:00 committed by GitHub
parent 9298e0ef3f
commit 78648afdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,8 @@
# CI build with the upload to MyGet
variables:
DotNetVersion: "3.1.101"
DotNetVersion2: "2.1.x"
DotNetVersion3: "3.1.x"
trigger:
branches:
@ -16,9 +17,14 @@ pool:
steps:
- task: UseDotNet@2
displayName: force use of desired dotnet version
displayName: force use of dotnet 2.1.x
inputs:
version: $(DotNetVersion)
version: $(DotNetVersion2)
- task: UseDotNet@2
displayName: force use of dotnet 3.1.x
inputs:
version: $(DotNetVersion3)
# "restore" is run automatically by "build"
- task: VSBuild@1