9999 endpointVersion : ${{ parameters.endpoint }}
100100 displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata'
101101
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 }}
103105
104106 # # Only run if the previous step was successful
105107- pwsh : ' $(scriptsDirectory)/run-typewriter-clean-metadata.ps1'
@@ -116,7 +118,9 @@ steps:
116118 OutputMetadataFileName : ' cleanMetadataWithDescriptionsAndAnnotations'
117119 displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata and keep capability annotations'
118120
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 }}
120124
121125 # # Only run if the previous step was successful
122126- pwsh : ' $(scriptsDirectory)/run-typewriter-clean-metadata.ps1'
@@ -134,7 +138,9 @@ steps:
134138 OutputMetadataFileName : ' cleanMetadataWithDescriptionsAndAnnotationsAndErrors'
135139 displayName : ' run Typewriter to clean ${{ parameters.endpoint }} metadata and keep capability annotations and include error information'
136140
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 }}
138144
139145
140146# publish metadata as an artifact
0 commit comments