Fixed secondary Artifact paths and Debug config.

This commit is contained in:
Erwin de Haan 2019-02-19 02:50:25 +01:00
parent d4bc7b5a5a
commit 18418b6892

View File

@ -25,7 +25,7 @@ jobs:
release:
BuildConfiguration: Release
debug:
BuildConfiguration: Release
BuildConfiguration: Debug
steps:
- checkout: self
clean: false
@ -66,39 +66,35 @@ jobs:
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
artifactName: 'jellyfin-build-$(BuildConfiguration)'
zipAfterPublish: false
zipAfterPublish: true
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact Naming'
condition: eq(variables['BuildConfiguration'], 'Release')
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)/MediaBrowser.Naming.dll'
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Naming.dll'
artifactName: 'Jellyfin.Naming'
zipAfterPublish: false
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact Controller'
condition: eq(variables['BuildConfiguration'], 'Release')
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)/MediaBrowser.Controller.dll'
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Controller.dll'
artifactName: 'Jellyfin.Controller'
zipAfterPublish: false
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact Model'
condition: eq(variables['BuildConfiguration'], 'Release')
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)/MediaBrowser.Model.dll'
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Model.dll'
artifactName: 'Jellyfin.Model'
zipAfterPublish: false
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact Common'
condition: eq(variables['BuildConfiguration'], 'Release')
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)/MediaBrowser.Common.dll'
PathtoPublish: '$(build.artifactstagingdirectory)/Jellyfin.Server/MediaBrowser.Common.dll'
artifactName: 'Jellyfin.Common'
zipAfterPublish: false
- job: dotnet_compat
displayName: Compatibility Check