Skip to content

Commit

Permalink
[0.75] SFI: Upgrade to EsrpCodeSigning@5
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell authored Jul 15, 2024
1 parent adbc2de commit cad3461
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .ado/templates/prep-and-pack-single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,15 @@ steps:
workingDirectory: $(System.DefaultWorkingDirectory)/ReactWindows
- ${{ if eq(parameters.codesignBinaries, true) }}:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
displayName: '${{ parameters.outputPackage }} CodeSign Binaries'
inputs:
ConnectedServiceName: ReactNativeSigning
ConnectedServiceName: 'ESRP-CodeSigning-Federated-Auth'
AppRegistrationClientId: 'd95a8439-53e3-4426-a77c-fb6247a72b6a'
AppRegistrationTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
AuthAKVName: 'rnw-keyvault'
AuthCertName: 'React-Native-ESRP-App-Authentication'
AuthSignCertName: 'React-Native-PRSS-Authentication'
FolderPath: $(System.DefaultWorkingDirectory)/ReactWindows
# Recursively finds files matching these patterns:
${{ if ne(parameters.binariesToSign, '') }}:
Expand Down Expand Up @@ -102,10 +107,15 @@ steps:
buildProperties: version=${{ parameters.packageVersion }};id=${{ parameters.outputPackage }};${{ parameters.buildProperties }}

- ${{ if eq(parameters.codesignNuget, true) }}:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@2
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
displayName: '${{ parameters.outputPackage }} CodeSign NuGet'
inputs:
ConnectedServiceName: ReactNativeSigning
ConnectedServiceName: 'ESRP-CodeSigning-Federated-Auth'
AppRegistrationClientId: 'd95a8439-53e3-4426-a77c-fb6247a72b6a'
AppRegistrationTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'
AuthAKVName: 'rnw-keyvault'
AuthCertName: 'React-Native-ESRP-App-Authentication'
AuthSignCertName: 'React-Native-PRSS-Authentication'
FolderPath: $(System.DefaultWorkingDirectory)/NugetRootFinal
Pattern: |
**/${{ parameters.outputPackage }}.${{ parameters.packageVersion }}.nupkg
Expand Down

0 comments on commit cad3461

Please sign in to comment.