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).

This commit is contained in:
Pietro Gagliardi 2019-04-06 16:16:45 -04:00
parent 20409b7599
commit 963f230196
1 changed files with 6 additions and 2 deletions

View File

@ -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