Skip to content

Commit 36fac2f

Browse files
authored
Install all .NET versions in pipeline to fix run tests task (#3152)
1 parent 5e4a389 commit 36fac2f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

build/template-install-dependencies.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
#install dotnet core
44

55
steps:
6+
- task: UseDotNet@2
7+
displayName: 'Use .NET SDK 3.1'
8+
inputs:
9+
version: 3.1.x
10+
11+
- task: UseDotNet@2
12+
displayName: 'Use .NET SDK 6.0.x'
13+
inputs:
14+
version: 6.0.x
15+
16+
- task: UseDotNet@2
17+
displayName: 'Use .NET SDK 7.0.x'
18+
inputs:
19+
version: 7.0.x
20+
21+
- task: UseDotNet@2
22+
displayName: 'Use .NET SDK 8.0.x'
23+
inputs:
24+
version: 8.0.x
25+
626
- task: UseDotNet@2
727
displayName: 'Use .NET SDK 9.0.x'
828
inputs:

0 commit comments

Comments
 (0)