From 963f2301961a9e105520a9878cac829c249f34ce Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 6 Apr 2019 16:16:45 -0400 Subject: [PATCH] Okay, so we apparently need to explicitly Publish the artifacts we staged if we want to download them (in the final pipeline, this will be replaced with a GitHub step). --- azure-pipelines.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 31d990d8..3e5209e7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,8 +24,12 @@ jobs: - script: | pushd build/meson-out cp ../../ui.h ../../ui_unix.h . - echo tar czf $(Build.ArtifactStagingDirectory)/libui-$(Build.SourceBranchName)-linux-amd64-shared.tgz libui.so.0 ui.h ui_unix.h - echo tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-linux-amd64-shared.tgz $(releaseExamplesUnix) + tar czf $(Build.ArtifactStagingDirectory)/libui-$(Build.SourceBranchName)-linux-amd64-shared.tgz libui.so.0 ui.h ui_unix.h + tar czf $(Build.ArtifactStagingDirectory)/examples-$(Build.SourceBranchName)-linux-amd64-shared.tgz $(releaseExamplesUnix) rm ui.h ui_unix.h popd displayName: 'Create Artifacts' + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: artifactTest