put built artifacts in an accessible directory

This commit is contained in:
Matt 2020-08-13 09:10:03 -04:00
parent 29c2f6126a
commit e75e3402af

View file

@ -23,13 +23,13 @@ steps:
includeRootFolder: False
archiveType: 'zip'
tarCompression: 'none'
archiveFile: 'plugin.video.jellyfin-${{ py_version }}.zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin-${{ py_version }}.zip'
- task: CopyFilesOverSSH@0
displayName: 'Upload to repo server'
inputs:
sshEndpoint: repository
sourceFolder: '${Agent.BuildDirectory}'
sourceFolder: '$(Build.ArtifactStagingDirectory)'
contents: 'plugin.video.jellyfin-${{ py_version }}.zip'
targetFolder: '/srv/repository/incoming/kodi'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')