Skip to content

Commit d742363

Browse files
committed
changing target path
1 parent ef19de1 commit d742363

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
matrix: $[ dependencies.get_conversion_settings.outputs['setTargets.targets'] ]
4343
variables:
4444
targets: $[ dependencies.get_conversion_settings.outputs['setTargets.targets'] ]
45+
templateContext:
46+
outputs:
47+
- output: pipelineArtifact
48+
targetPath: '$(Build.ArtifactStagingDirectory)'
49+
artifactName: ${{ parameters.cleanMetadataFolder }}
4550
steps:
4651
- checkout: self
4752
displayName: checkout generator
@@ -90,9 +95,9 @@ jobs:
9095
dependsOn: convert_openapi
9196
displayName: Publish
9297
templateContext:
93-
outputs:
94-
- output: pipelineArtifact
95-
targetPath: '$(Build.SourcesDirectory)/msgraph-metadata/openapi/${{ parameters.endpoint }}'
98+
inputs:
99+
- input: pipelineArtifact
100+
targetPath: $(Build.SourcesDirectory)/msgraph-metadata/openapi/${{ parameters.endpoint }}
96101
artifactName: ${{ parameters.cleanMetadataFolder }}
97102
steps:
98103
# We only need the scripts

0 commit comments

Comments
 (0)