mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Applied single file publish
This commit is contained in:
parent
6b668c62d6
commit
056a7b48aa
3 changed files with 10 additions and 10 deletions
|
@ -5,7 +5,7 @@ steps:
|
|||
displayName: 'Use .NET Core sdk '
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '3.x'
|
||||
version: '5.x'
|
||||
|
||||
- task: Yarn@3
|
||||
displayName: 'Install UI Dependancies'
|
||||
|
|
|
@ -3,7 +3,7 @@ steps:
|
|||
displayName: 'Use .NET Core sdk '
|
||||
inputs:
|
||||
packageType: 'sdk'
|
||||
version: '3.x'
|
||||
version: '5.x'
|
||||
|
||||
- task: DotNetCoreInstaller@1
|
||||
displayName: 'Use .NET Core sdk for versioning'
|
||||
|
@ -24,7 +24,7 @@ steps:
|
|||
inputs:
|
||||
command: 'publish'
|
||||
publishWebProjects: true
|
||||
arguments: '-c $(BuildConfiguration) -r "$(runtime)" -o $(Build.ArtifactStagingDirectory)/$(runtime)'
|
||||
arguments: '-c $(BuildConfiguration) -r "$(runtime)" -o $(Build.ArtifactStagingDirectory)/$(runtime)' --self-contained true -p:PublishSingleFile=true
|
||||
zipAfterPublish: false
|
||||
modifyOutputPath: false
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ variables:
|
|||
value: "**/*.Tests.csproj"
|
||||
|
||||
- name: "NetCoreVersion"
|
||||
value: "3.1"
|
||||
value: "5.0"
|
||||
|
||||
- name: "PublishLocation"
|
||||
value: "$(Build.SourcesDirectory)/src/Ombi/bin/Release/netcoreapp$(NetCoreVersion)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue