Skip to content

Commit

Permalink
upgrade EsrpCodeSigning from v1 to v2 (#14531)
Browse files Browse the repository at this point in the history
### Description
This change upgrade EsrpCodeSigning from v1 to v2 in our build pipeline.
  • Loading branch information
fs-eire authored and rui-ren committed Feb 3, 2023
1 parent e2190ec commit 26f7b46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ parameters:

steps:
- ${{ if eq(parameters['DoEsrp'], 'true') }}:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
displayName: ${{ parameters.DisplayName }}
inputs:
ConnectedServiceName: 'OnnxRuntime CodeSign 20190817'
FolderPath: ${{ parameters.FolderPath }}
Pattern: '*.nupkg'
signConfigType: inlineSignParams
inlineOperation: |
[
[
{
"keyCode": "CP-401405",
"operationSetCode": "NuGetSign",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ parameters:
Pattern: '*.dll'

steps:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
displayName: ${{ parameters.DisplayName }}
inputs:
ConnectedServiceName: 'OnnxRuntime CodeSign 20190817'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parameters:
default: '*.dll'

steps:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
displayName: ${{ parameters.DisplayName }}
condition: and(succeeded(), eq('${{ parameters.DoEsrp }}', true))
inputs:
Expand Down

0 comments on commit 26f7b46

Please sign in to comment.