aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-10-02 07:00:57 -0600
committercrobibero <cody@robibe.ro>2020-10-02 07:00:57 -0600
commit810ec0b672c06baa34782ccfb4b0b5cd51196662 (patch)
treeb5983ac86bea5a57e734199ed8a15bdf41667a71
parent6ffffa95a7cfa092bc4dd1b75e25f1010d0d8855 (diff)
Fix download api spec
-rw-r--r--.ci/azure-pipelines-api-client.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.ci/azure-pipelines-api-client.yml b/.ci/azure-pipelines-api-client.yml
index babee15b5..0c741495f 100644
--- a/.ci/azure-pipelines-api-client.yml
+++ b/.ci/azure-pipelines-api-client.yml
@@ -17,13 +17,11 @@ jobs:
- task: DownloadPipelineArtifact@2
displayName: 'Download OpenAPI Spec Artifact'
inputs:
- source: "specific"
+ source: 'current'
artifact: "OpenAPI Spec"
- path: "$(System.ArtifactsDirectory)/openapi"
- project: "$(System.TeamProjectId)"
- pipeline: "29" # The main server CI build
- runVersion: "latestFromBranch"
- runBranch: "refs/heads/$(System.PullRequest.TargetBranch)"
+ path: "$(System.ArtifactsDirectory)/openapispec"
+ runVersion: "latest"
+ dependsOn: Test
- task: CmdLine@2
displayName: 'Download OpenApi Generator'
@@ -68,5 +66,5 @@ jobs:
inputs:
command: publish
publishRegistry: useExternalRegistry
- publishEndpoint:
+ publishEndpoint:
workingDir: ./apiclient/generated/typescript/axios