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:
31
31
condition : eq(variables.IsGenerateBased, true)
32
32
inputs :
33
33
versionSpec : 14.17.1
34
-
34
+
35
35
- task : PowerShell@2
36
36
displayName : Install autorest
37
37
condition : eq(variables.IsGenerateBased, true)
38
38
inputs :
39
39
targetType : inline
40
40
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
41
46
- task : PowerShell@2
42
47
displayName : Build
43
48
inputs :
44
49
targetType : inline
45
50
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
46
56
- task : securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
47
57
displayName : Run CredScan
48
58
inputs :
You can’t perform that action at this time.
0 commit comments