99
99
endpointVersion : ${{ parameters.endpoint }}
100
100
displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata'
101
101
102
- - pwsh : ' $[parameters['' metadataAnnotationsCopyScriptPath'' ]] -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_${{ parameters.sanitizedEndpoint }}_metadata/cleanMetadataWithDescriptions${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
102
+ - pwsh : ' . $Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_${{ parameters.sanitizedEndpoint }}_metadata/cleanMetadataWithDescriptions${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
103
+ env :
104
+ ScriptPath : ${{ parameters.metadataAnnotationsCopyScriptPath }}
103
105
104
106
# # Only run if the previous step was successful
105
107
- pwsh : ' $(scriptsDirectory)/run-typewriter-clean-metadata.ps1'
@@ -116,7 +118,9 @@ steps:
116
118
OutputMetadataFileName : ' cleanMetadataWithDescriptionsAndAnnotations'
117
119
displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata and keep capability annotations'
118
120
119
- - pwsh : ' $[parameters['' metadataAnnotationsCopyScriptPath'' ]] -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotations${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
121
+ - pwsh : ' . $Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotations${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
122
+ env :
123
+ ScriptPath : ${{ parameters.metadataAnnotationsCopyScriptPath }}
120
124
121
125
# # Only run if the previous step was successful
122
126
- pwsh : ' $(scriptsDirectory)/run-typewriter-clean-metadata.ps1'
@@ -134,7 +138,9 @@ steps:
134
138
OutputMetadataFileName : ' cleanMetadataWithDescriptionsAndAnnotationsAndErrors'
135
139
displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata and keep capability annotations and include error information'
136
140
137
- - pwsh : ' $[parameters['' metadataAnnotationsCopyScriptPath'' ]] -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrors${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
141
+ - pwsh : ' . $Env:ScriptPath -targetCsdlPath "$(Build.SourcesDirectory)/msgraph-metadata/clean_$(sanitizedEndpoint)_metadata/cleanMetadataWithDescriptionsAndAnnotationsAndErrors${{ parameters.endpoint }}.xml" -sourceCsdlDirectoryPath "$(metadataTypeSpecAnnotationsSource)/${{ parameters.metadataTypeSpecAnnotationsOutputDir }}"'
142
+ env :
143
+ ScriptPath : ${{ parameters.metadataAnnotationsCopyScriptPath }}
138
144
139
145
140
146
# publish metadata as an artifact
0 commit comments