File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,28 @@ jobs:
3131 condition : eq(variables.IsGenerateBased, true)
3232 inputs :
3333 versionSpec : 14.17.1
34-
34+
3535 - task : PowerShell@2
3636 displayName : Install autorest
3737 condition : eq(variables.IsGenerateBased, true)
3838 inputs :
3939 targetType : inline
4040 script : npm install autorest@latest;$env:NODE_OPTIONS="--max-old-space-size=65536"
41+ - task : UseDotNet@2
42+ displayName : ' Use .NET Core sdk 6.0.x for build'
43+ inputs :
44+ packageType : sdk
45+ version : 6.0.x
4146 - task : PowerShell@2
4247 displayName : Build
4348 inputs :
4449 targetType : inline
4550 script : dotnet msbuild build.proj /t:"Build;GenerateHelp" /p:"PullRequestNumber=$(System.PullRequest.PullRequestNumber);IsSecurityCheck=true"
51+ - task : UseDotNet@2
52+ displayName : ' Use .NET Core sdk 8.x for CredScan tools'
53+ inputs :
54+ packageType : sdk
55+ version : 8.x
4656 - task : securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
4757 displayName : Run CredScan
4858 inputs :
You can’t perform that action at this time.
0 commit comments