mirror of
https://github.com/microsoft/autogen.git
synced 2026-01-23 01:58:02 -05:00
fix: ESPR dotnet code signing (#5081)
* fix: ESPR dotnet code signing * only code sign bin * fix nuget path
This commit is contained in:
@@ -134,18 +134,16 @@ jobs:
|
||||
inputs:
|
||||
SourceFolder: '$(build.sourcesdirectory)'
|
||||
Contents: |
|
||||
**/AutoGen*.dll
|
||||
**/Microsoft.AutoGen.*.dll
|
||||
**/bin/**/AutoGen*.dll
|
||||
**/bin/**/Microsoft.AutoGen.*.dll
|
||||
TargetFolder: '$(build.artifactstagingdirectory)\codesign'
|
||||
CleanTargetFolder: true
|
||||
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@5
|
||||
displayName: 'Codesign: ESRP CodeSigning'
|
||||
displayName: 'Codesign: ESRP CodeSigning (dlls)'
|
||||
inputs:
|
||||
ConnectedServiceName: 'AI Frontiers ESRP'
|
||||
AppRegistrationClientId: 'c1e7a5c0-ee6b-4cec-9e11-4dc3f4670042'
|
||||
AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346'
|
||||
#EsrpClientId: '7129dd35-ad94-49a9-98c7-eb4cf3cd36a9'
|
||||
#UseMSIAuthentication: true
|
||||
AuthAKVName: 'aif-autogen-esrp-kv'
|
||||
AuthCertName: 'AIF-PME-InfrastructureAuth'
|
||||
AuthSignCertName: 'AutoGenPublishESRPPKI' # this variable is only needed for codesign
|
||||
@@ -222,12 +220,10 @@ jobs:
|
||||
ConnectedServiceName: 'AI Frontiers ESRP'
|
||||
AppRegistrationClientId: 'c1e7a5c0-ee6b-4cec-9e11-4dc3f4670042'
|
||||
AppRegistrationTenantId: '975f013f-7f24-47e8-a7d3-abc4752bf346'
|
||||
EsrpClientId: '7129dd35-ad94-49a9-98c7-eb4cf3cd36a9'
|
||||
UseMSIAuthentication: true
|
||||
AuthAKVName: 'aif-autogen-esrp-kv'
|
||||
#AuthCertName: 'AutoGenPublishESRPPKI'
|
||||
AuthCertName: 'AIF-PME-InfrastructureAuth'
|
||||
AuthSignCertName: 'AutoGenPublishESRPPKI' # this variable is only needed for codesign
|
||||
FolderPath: '$(build.sourcesdirectory)/Artifacts/${{parameters.build_configuration}}'
|
||||
FolderPath: '$(build.sourcesdirectory)/dotnet/artifacts/package/${{parameters.build_configuration}}'
|
||||
Pattern: '*.nupkg'
|
||||
signConfigType: inlineSignParams
|
||||
inlineOperation: |
|
||||
|
||||
Reference in New Issue
Block a user