Fix download api spec

This commit is contained in:
crobibero 2020-10-02 07:00:57 -06:00
parent 6ffffa95a7
commit 810ec0b672

View File

@ -17,13 +17,11 @@ jobs:
- task: DownloadPipelineArtifact@2 - task: DownloadPipelineArtifact@2
displayName: 'Download OpenAPI Spec Artifact' displayName: 'Download OpenAPI Spec Artifact'
inputs: inputs:
source: "specific" source: 'current'
artifact: "OpenAPI Spec" artifact: "OpenAPI Spec"
path: "$(System.ArtifactsDirectory)/openapi" path: "$(System.ArtifactsDirectory)/openapispec"
project: "$(System.TeamProjectId)" runVersion: "latest"
pipeline: "29" # The main server CI build dependsOn: Test
runVersion: "latestFromBranch"
runBranch: "refs/heads/$(System.PullRequest.TargetBranch)"
- task: CmdLine@2 - task: CmdLine@2
displayName: 'Download OpenApi Generator' displayName: 'Download OpenApi Generator'
@ -68,5 +66,5 @@ jobs:
inputs: inputs:
command: publish command: publish
publishRegistry: useExternalRegistry publishRegistry: useExternalRegistry
publishEndpoint: publishEndpoint:
workingDir: ./apiclient/generated/typescript/axios workingDir: ./apiclient/generated/typescript/axios