microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
.pipelines/templates/esrp_nuget.yml
31lines · modecode
| 1 | parameters: |
| 2 | FolderPath: '' |
| 3 | DisplayName: '' |
| 4 | DoEsrp: 'false' |
| 5 | |
| 6 | steps: |
| 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 | ] |