зеркало из https://github.com/microsoft/msquic.git
Support Building Release NuGet Packages (#2551)
This commit is contained in:
Родитель
b020802493
Коммит
1fa194958e
|
@ -15,6 +15,9 @@ trigger:
|
|||
- main
|
||||
- release/*
|
||||
- msrc/*
|
||||
tags:
|
||||
include:
|
||||
- v*
|
||||
|
||||
parameters: # parameters are shown up in ADO UI in a build queue time
|
||||
- name: 'debug'
|
||||
|
@ -164,3 +167,6 @@ extends:
|
|||
- build_uwp
|
||||
jobs:
|
||||
- template: .azure/obtemplates/build-nuget.yml@self
|
||||
${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags/')) }}:
|
||||
parameters:
|
||||
release: true
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# This template contains steps to merge all builds into a single set of files to distribute.
|
||||
|
||||
parameters:
|
||||
release: false
|
||||
|
||||
jobs:
|
||||
- job: nuget
|
||||
displayName: Nuget
|
||||
|
@ -58,21 +61,31 @@ jobs:
|
|||
inputs:
|
||||
pwsh: false
|
||||
filePath: scripts/package-nuget.ps1
|
||||
arguments: -Tls openssl -UWP
|
||||
${{ if eq(parameters.release, false) }}:
|
||||
arguments: -Tls openssl -UWP
|
||||
${{ if eq(parameters.release, true) }}:
|
||||
arguments: -Tls openssl -UWP -ReleaseBuild
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: Package Nuget
|
||||
inputs:
|
||||
pwsh: false
|
||||
filePath: scripts/package-nuget.ps1
|
||||
arguments: -Tls openssl
|
||||
${{ if eq(parameters.release, false) }}:
|
||||
arguments: -Tls openssl
|
||||
${{ if eq(parameters.release, true) }}:
|
||||
arguments: -Tls openssl -ReleaseBuild
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: Package Nuget
|
||||
inputs:
|
||||
pwsh: false
|
||||
filePath: scripts/package-nuget.ps1
|
||||
arguments: -Tls schannel
|
||||
${{ if eq(parameters.release, false) }}:
|
||||
arguments: -Tls schannel
|
||||
${{ if eq(parameters.release, true) }}:
|
||||
arguments: -Tls schannel -ReleaseBuild
|
||||
|
||||
|
||||
- task: onebranch.pipeline.signing@1
|
||||
inputs:
|
||||
|
|
Загрузка…
Ссылка в новой задаче