diff --git a/.azurePipeline/python_init_package_install_steps.yml b/.azurePipeline/python_init_package_install_steps.yml index 9b2c0fba..973769ac 100644 --- a/.azurePipeline/python_init_package_install_steps.yml +++ b/.azurePipeline/python_init_package_install_steps.yml @@ -56,3 +56,11 @@ steps: python -m codecov --token $(CODECOV_TOKEN) --file coverage.xml -F $opSysFlag,$pyVFlag,$compFlag displayName: 'Send coverage to codecov' condition: succeededOrFailed() + +# Note PipelineArtifacts replace BuildArtifacts +- task: PublishPipelineArtifact@1 + condition: and(eq(variables['compiler'], 'clang'), eq(variables['pythonVersion'], '3.7')) + displayName: 'Publish pipeline artifacts in Azure' + inputs: + targetPath: 'dist' + artifact: 'Build Artifacts ${{ parameters.operatingSystem }} for Python ${{ parameters.pythonVersion }}' diff --git a/azurePipeline.yml b/azurePipeline.yml index db690dad..f615c7da 100644 --- a/azurePipeline.yml +++ b/azurePipeline.yml @@ -43,12 +43,7 @@ stages: compiler: $(compiler) pythonVersion: $(pythonVersion) operatingSystem: 'ubuntu-16.04' - - task: PublishPipelineArtifact@0 - condition: and(eq(variables['compiler'], 'gcc'), eq(variables['pythonVersion'], '3.7')) - displayName: 'Publish artifacts in Azure' - inputs: - artifactName: Artifacts - targetPath: 'dist/' + - job: displayName: OSX