We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a3dc79 commit 220f11dCopy full SHA for 220f11d
.github/workflows/codeql-analysis.yml
@@ -30,16 +30,19 @@ jobs:
30
'.\src\Microsoft.OpenApi.Readers\Microsoft.OpenApi.Readers.csproj',
31
'.\src\Microsoft.OpenApi.Tool\Microsoft.OpenApi.Tool.csproj'
32
)
33
+ $targetsArray = @(
34
+ 'restore',
35
+ 'build'
36
+ )
37
38
$projectsArray | ForEach-Object {
- dotnet msbuild $PSItem `
- /t:restore `
- /p:Configuration=Release
-
39
40
- /t:build `
41
42
- }
+ $project = $PSItem
+
+ $targetsArray | ForEach-Object {
+ dotnet msbuild $project `
43
+ /t:$PSItem `
44
+ /p:Configuration=Release
45
+ }
46
47
- name: Perform CodeQL Analysis
48
id: analyze_codeql
0 commit comments