|
|
@ -20,35 +20,6 @@ jobs:
|
|
|
|
submodules: true
|
|
|
|
submodules: true
|
|
|
|
persistCredentials: true
|
|
|
|
persistCredentials: true
|
|
|
|
|
|
|
|
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
|
|
|
|
|
|
displayName: 'Download Web Branch'
|
|
|
|
|
|
|
|
condition: in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'BuildCompletion')
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
|
|
|
|
path: '$(Agent.TempDirectory)'
|
|
|
|
|
|
|
|
artifact: 'jellyfin-web-production'
|
|
|
|
|
|
|
|
source: 'specific'
|
|
|
|
|
|
|
|
project: 'jellyfin'
|
|
|
|
|
|
|
|
pipeline: 'Jellyfin Web'
|
|
|
|
|
|
|
|
runBranch: variables['Build.SourceBranch']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
|
|
|
|
|
|
displayName: 'Download Web Target'
|
|
|
|
|
|
|
|
condition: eq(variables['Build.Reason'], 'PullRequest')
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
|
|
|
|
path: '$(Agent.TempDirectory)'
|
|
|
|
|
|
|
|
artifact: 'jellyfin-web-production'
|
|
|
|
|
|
|
|
source: 'specific'
|
|
|
|
|
|
|
|
project: 'jellyfin'
|
|
|
|
|
|
|
|
pipeline: 'Jellyfin Web'
|
|
|
|
|
|
|
|
runBranch: variables['System.PullRequest.TargetBranch']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- task: ExtractFiles@1
|
|
|
|
|
|
|
|
displayName: 'Extract Web Client'
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
|
|
|
|
archiveFilePatterns: '$(Agent.TempDirectory)/*.zip'
|
|
|
|
|
|
|
|
destinationFolder: '$(Build.SourcesDirectory)/MediaBrowser.WebDashboard'
|
|
|
|
|
|
|
|
cleanDestinationFolder: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- task: UseDotNet@2
|
|
|
|
- task: UseDotNet@2
|
|
|
|
displayName: 'Update DotNet'
|
|
|
|
displayName: 'Update DotNet'
|
|
|
|
inputs:
|
|
|
|
inputs:
|
|
|
|