mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Merge pull request #363 from mcarlton00/i-want-my-files
Publish artifacts in pipeline
This commit is contained in:
commit
8ab50c767e
1 changed files with 8 additions and 2 deletions
|
@ -23,13 +23,19 @@ steps:
|
|||
includeRootFolder: False
|
||||
archiveType: 'zip'
|
||||
tarCompression: 'none'
|
||||
archiveFile: 'plugin.video.jellyfin-${{ py_version }}.zip'
|
||||
archiveFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin-${{ py_version }}.zip'
|
||||
|
||||
- task: PublishPipelineArtifact@1
|
||||
displayName: 'Publish ${{ py_version }} artifact'
|
||||
inputs:
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin-${{ py_version }}.zip'
|
||||
artifactName: 'plugin.video.jellyfin-${{ py_version }}-$(Build.BuildNumber).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')
|
||||
|
|
Loading…
Reference in a new issue