diff options
author | Syoyo Fujita <syoyo@lighttransport.com> | 2020-05-28 15:05:23 +0900 |
---|---|---|
committer | Syoyo Fujita <syoyo@lighttransport.com> | 2020-05-28 15:05:23 +0900 |
commit | 5bc550d9f3f3108971360bbf09dabc95283936e1 (patch) | |
tree | 70d26354a7d1ae1cd367ce1aa28bb7f656abb037 | |
parent | 94ac0dc0bd6125543bdb51c270c327d6ec80db74 (diff) | |
download | tinyobjloader-5bc550d9f3f3108971360bbf09dabc95283936e1.tar.gz |
Copy artifact to staging directory.
-rw-r--r-- | azure-pipelines.yml | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4ef3f77..454882e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -39,9 +39,13 @@ jobs: cp *.h python cd python cibuildwheel --output-dir wheelhouse . + - task: CopyFiles@2 + inputs: + contents: 'python/wheelhouse/**' + targetFolder: $(Build.ArtifactStagingDirectory) - task: PublishBuildArtifacts@1 inputs: - path: $(System.DefaultWorkingDirectory)/python/wheelhouse + path: $(Build.ArtifactStagingDirectory) artifactName: tinyobjDeployLinux - job: macos @@ -58,9 +62,13 @@ jobs: cp *.h python cd python cibuildwheel --output-dir wheelhouse . + - task: CopyFiles@2 + inputs: + contents: 'python/wheelhouse/*.whl' + targetFolder: $(Build.ArtifactStagingDirectory) - task: PublishBuildArtifacts@1 inputs: - path: $(System.DefaultWorkingDirectory)/python/wheelhouse + path: $(Build.ArtifactStagingDirectory) artifactName: tinyobjDeployMacOS - job: windows @@ -76,9 +84,13 @@ jobs: cp *.h python cd python cibuildwheel --output-dir wheelhouse . + - task: CopyFiles@2 + inputs: + contents: 'python/wheelhouse/*.whl' + targetFolder: $(Build.ArtifactStagingDirectory) - task: PublishBuildArtifacts@1 inputs: - path: $(System.DefaultWorkingDirectory)/python/wheelhouse + path: $(Build.ArtifactStagingDirectory) artifactName: tinyobjDeployWindows - job: deployPyPI @@ -92,11 +104,6 @@ jobs: steps: - task: UsePythonVersion@0 - task: DownloadPipelineArtifact@2 - inputs: - patterns: | - tinyobjDeployLinux/* - tinyobjDeployMacOS/*.whl - tinyobjDeployWindows/*.whl - bash: | cd $(Pipeline.Workspace) python -m pip install --upgrade pip |