Skip to content

Commit 7e24ee9

Browse files
committed
fix: metadata validation is missing hidi installation
Signed-off-by: Vincent Biret <[email protected]>
1 parent 76739b2 commit 7e24ee9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.azure-pipelines/generation-templates/capture-metadata.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ steps:
115115

116116
- template: use-dotnet-sdk.yml
117117

118+
# required for the hidi installation validation
119+
- template: use-dotnet-sdk.yml
120+
parameters:
121+
version: '9.x'
122+
123+
- pwsh: dotnet tool install -g Microsoft.OpenApi.Hidi
124+
displayName: 'Install hidi tool'
125+
118126
# verify that generated metadata is parsable as an Edm model
119127
- pwsh: $(Build.SourcesDirectory)/msgraph-metadata/scripts/run-metadata-validation.ps1 -repoDirectory "$(Build.SourcesDirectory)/msgraph-metadata/" -version "${{ parameters.endpoint }}"
120128
displayName: 'verify whether metadata is parsable as an Edm model'

0 commit comments

Comments
 (0)