Skip to content

Commit 6d9e052

Browse files
Install .NET 6 as part of apiscan task (#49)
* Update apiscan task template to install .NET 6 sdk * Fix indent
1 parent f7ba1cf commit 6d9e052

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

template-compliance/apiscan.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ parameters:
77

88
steps:
99
- ${{ if eq(parameters.APIScanEnable, 'true') }}:
10+
- task: UseDotNet@2
11+
displayName: 'Use .NET runtime'
12+
inputs:
13+
packageType: sdk
14+
version: 6.x
15+
installationPath: $(Agent.ToolsDirectory)/dotnet
16+
1017
- task: securedevelopmentteam.vss-secure-development-tools.build-task-apiscan.APIScan@2
1118
displayName: 'Run APIScan'
1219
inputs:

0 commit comments

Comments
 (0)