mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-19 19:00:47 +00:00
Add a codesign step to Windows AI nuget pipeline (#15816)
### Description Add a codesign step to Windows AI nuget pipeline to sign the nuget package
This commit is contained in:
parent
d1b2b35cd2
commit
e139ae238b
1 changed files with 25 additions and 0 deletions
|
|
@ -351,6 +351,31 @@ extends:
|
|||
- script: |
|
||||
dir $(Build.SourcesDirectory)\unzipped\runtimes\win-x64\_native
|
||||
|
||||
- task: EsrpCodeSigning@2
|
||||
displayName: "Sign Nuget package"
|
||||
inputs:
|
||||
ConnectedServiceName: 'OnnxRuntime CodeSign 20190817'
|
||||
FolderPath: $(Build.ArtifactStagingDirectory)
|
||||
Pattern: '*.nupkg'
|
||||
signConfigType: inlineSignParams
|
||||
inlineOperation: |
|
||||
[
|
||||
{
|
||||
"keyCode": "CP-401405",
|
||||
"operationSetCode": "NuGetSign",
|
||||
"parameters": [ ],
|
||||
"toolName": "sign",
|
||||
"toolVersion": "1.0"
|
||||
},
|
||||
{
|
||||
"keyCode": "CP-401405",
|
||||
"operationSetCode": "NuGetVerify",
|
||||
"parameters": [ ],
|
||||
"toolName": "sign",
|
||||
"toolVersion": "1.0"
|
||||
}
|
||||
]
|
||||
|
||||
- job: NuGet_Publishing
|
||||
pool:
|
||||
type: windows
|
||||
|
|
|
|||
Loading…
Reference in a new issue