microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
b7b8816dab43f095079c5c7609764c702e3c6e49

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.pipelines/templates/esrp_nuget.yml

31lines · modecode

1parameters:
2 FolderPath: ''
3 DisplayName: ''
4 DoEsrp: 'false'
5
6steps:
7- ${{ if eq(parameters['DoEsrp'], 'true') }}:
8 - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
9 displayName: ${{ parameters.DisplayName }}
10 inputs:
11 ConnectedServiceName: 'OnnxRuntime CodeSign 20190817'
12 FolderPath: ${{ parameters.FolderPath }}
13 Pattern: '*.nupkg'
14 signConfigType: inlineSignParams
15 inlineOperation: |
16 [
17 {
18 "keyCode": "CP-401405",
19 "operationSetCode": "NuGetSign",
20 "parameters": [ ],
21 "toolName": "sign",
22 "toolVersion": "1.0"
23 },
24 {
25 "keyCode": "CP-401405",
26 "operationSetCode": "NuGetVerify",
27 "parameters": [ ],
28 "toolName": "sign",
29 "toolVersion": "1.0"
30 }
31 ]