Skip to content

Commit 2939a96

Browse files
committed
Refactor checkout steps to use Agents-M365Copilot for OpenAPI file retrieval
1 parent 3e35a38 commit 2939a96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.azure-pipelines/generation-templates/set-up-for-generation-kiota.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ steps:
2525
submodules: recursive
2626
condition: or(eq(variables.skipMetadataCaptureAndClean, true), eq(variables.skipOpenApiCaptureAndClean, true))
2727

28-
- checkout: ccs-beta-sdk-dotnet
29-
displayName: checkout ccs-beta-sdk-dotnet to grab the openapi.yaml
28+
- checkout: Agents-M365Copilot
29+
displayName: checkout Agents-M365Copilot to get the OpenAPI file
3030
fetchDepth: 1
3131
persistCredentials: true
3232
submodules: recursive
@@ -35,8 +35,8 @@ steps:
3535
- pwsh: |
3636
md $(Build.SourcesDirectory)/msgraph-metadata/clean_v10_openapi
3737
md $(Build.SourcesDirectory)/msgraph-metadata/clean_beta_openapi
38-
Copy-Item -Path $(Build.SourcesDirectory)/ccs-beta-sdk-dotnet/openApiDocs/ccs-beta-review-openapi.yml -Destination $(Build.SourcesDirectory)/msgraph-metadata/clean_v10_openapi/openapi.yaml
39-
Copy-Item -Path $(Build.SourcesDirectory)/ccs-beta-sdk-dotnet/openApiDocs/ccs-beta-review-openapi.yml -Destination $(Build.SourcesDirectory)/msgraph-metadata/clean_beta_openapi/openapi.yaml
38+
Copy-Item -Path $(Build.SourcesDirectory)/Agents-M365Copilot/openapi/ccs-beta-review-openapi.yml -Destination $(Build.SourcesDirectory)/msgraph-metadata/clean_v10_openapi/openapi.yaml
39+
Copy-Item -Path $(Build.SourcesDirectory)/Agents-M365Copilot/openapi/ccs-beta-review-openapi.yml -Destination $(Build.SourcesDirectory)/msgraph-metadata/clean_beta_openapi/openapi.yaml
4040
displayName: Move Custom CCS metadata to expected location
4141
condition: ${{ eq(parameters.isCopilotGeneration, true) }}
4242

0 commit comments

Comments
 (0)