Merge branch 'main' into release/v0.9.0-preview
This commit is contained in:
Коммит
9a25329776
|
@ -15,39 +15,39 @@ steps:
|
|||
./src/Microsoft.Azure.WebJobs.Extensions.OpenApi/Microsoft.Azure.WebJobs.Extensions.OpenApi.csproj
|
||||
arguments: '-c ${{ parameters.configuration }} -o $(Build.ArtifactStagingDirectory) --no-build --include-symbols /p:PackageVersion=${{ parameters.version }} -v Quiet'
|
||||
|
||||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
|
||||
displayName: 'ESRP CodeSigning: Nupkg'
|
||||
condition: and(succeeded(), eq(variables['SignArtifacts'], 'true'))
|
||||
inputs:
|
||||
ConnectedServiceName: 'ESRP Service'
|
||||
FolderPath: '$(Build.ArtifactStagingDirectory)'
|
||||
Pattern: '*.nupkg'
|
||||
signConfigType: inlineSignParams
|
||||
inlineOperation: |
|
||||
[
|
||||
{
|
||||
"KeyCode": "CP-401405",
|
||||
"OperationCode": "NuGetSign",
|
||||
"Parameters": {},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
},
|
||||
{
|
||||
"KeyCode": "CP-401405",
|
||||
"OperationCode": "NuGetVerify",
|
||||
"Parameters": {},
|
||||
"ToolName": "sign",
|
||||
"ToolVersion": "1.0"
|
||||
}
|
||||
]
|
||||
# - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
|
||||
# displayName: 'ESRP CodeSigning: Nupkg'
|
||||
# condition: and(succeeded(), eq(variables['SignArtifacts'], 'true'))
|
||||
# inputs:
|
||||
# ConnectedServiceName: 'ESRP Service'
|
||||
# FolderPath: '$(Build.ArtifactStagingDirectory)'
|
||||
# Pattern: '*.nupkg'
|
||||
# signConfigType: inlineSignParams
|
||||
# inlineOperation: |
|
||||
# [
|
||||
# {
|
||||
# "KeyCode": "CP-401405",
|
||||
# "OperationCode": "NuGetSign",
|
||||
# "Parameters": {},
|
||||
# "ToolName": "sign",
|
||||
# "ToolVersion": "1.0"
|
||||
# },
|
||||
# {
|
||||
# "KeyCode": "CP-401405",
|
||||
# "OperationCode": "NuGetVerify",
|
||||
# "Parameters": {},
|
||||
# "ToolName": "sign",
|
||||
# "ToolVersion": "1.0"
|
||||
# }
|
||||
# ]
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: 'Delete CodeSignSummary Files'
|
||||
condition: and(succeeded(), eq(variables['SignArtifacts'], 'true'))
|
||||
inputs:
|
||||
targetType: Inline
|
||||
script: |
|
||||
Get-ChildItem -Path $(Build.ArtifactStagingDirectory) -Include CodeSignSummary-*.md -Recurse | Remove-Item -Force
|
||||
# - task: PowerShell@2
|
||||
# displayName: 'Delete CodeSignSummary Files'
|
||||
# condition: and(succeeded(), eq(variables['SignArtifacts'], 'true'))
|
||||
# inputs:
|
||||
# targetType: Inline
|
||||
# script: |
|
||||
# Get-ChildItem -Path $(Build.ArtifactStagingDirectory) -Include CodeSignSummary-*.md -Recurse | Remove-Item -Force
|
||||
|
||||
# - task: PublishBuildArtifacts@1
|
||||
# displayName: 'Publish Artifacts'
|
||||
|
|
Загрузка…
Ссылка в новой задаче