Skip to content

Commit e8a1e16

Browse files
authored
Merge pull request #1213 from microsoftgraph/bugfix/extra-files
- removes extra validation files after validation
2 parents ffdcd17 + db4c9a2 commit e8a1e16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ steps:
119119
- pwsh: $(Build.SourcesDirectory)/msgraph-metadata/scripts/run-metadata-validation.ps1 -repoDirectory "$(Build.SourcesDirectory)/msgraph-metadata/" -version "${{ parameters.endpoint }}"
120120
displayName: 'verify whether metadata is parsable as an Edm model'
121121

122+
# clean up extra files
123+
- pwsh: rm $(Build.SourcesDirectory)/msgraph-metadata/transformed_*_metadata.* -Verbose -Force
124+
displayName: 'clean up transformed metadata generated by validation'
125+
122126
# Checkin clean metadata into metadata repo or make it an artifact.
123127
- pwsh: '$(scriptsDirectory)/git-push-cleanmetadata.ps1'
124128

0 commit comments

Comments
 (0)