Skip to content

Commit

Permalink
Fix path matching
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Omondi committed Jul 8, 2024
1 parent 73e48f6 commit 7083ad8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pr:
variables:
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
ProductBinPath: '$(Build.SourcesDirectory)\src\bin\$(BuildConfiguration)'

resources:
repositories:
Expand Down Expand Up @@ -78,11 +77,11 @@ extends:
projects: '$(Build.SourcesDirectory)\Microsoft.Kiota.sln'
arguments: '--configuration $(BuildConfiguration) --no-build --framework net8.0'

- task: EsrpCodeSigning@2
- task: EsrpCodeSigning@3
displayName: 'ESRP DLL Strong Name'
inputs:
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
FolderPath: $(ProductBinPath)
FolderPath: src # This path should already omit test dlls as they exist in the `tests` folder
Pattern: '**\*Microsoft.Kiota.*.dll'
signConfigType: inlineSignParams
UseMinimatch: true
Expand All @@ -105,11 +104,11 @@ extends:
]
SessionTimeout: 20

- task: EsrpCodeSigning@2
- task: EsrpCodeSigning@3
displayName: 'ESRP DLL CodeSigning'
inputs:
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
FolderPath: src
FolderPath: src # This path should already omit test dlls as they exist in the `tests` folder
signConfigType: inlineSignParams
UseMinimatch: true
Pattern: '**\*Microsoft.Kiota.*.dll'
Expand Down Expand Up @@ -168,7 +167,7 @@ extends:
arguments: '-projectPath "$(Build.SourcesDirectory)/Directory.Build.props" -packageName "Microsoft.Kiota.Abstractions"'
pwsh: true

- task: EsrpCodeSigning@2
- task: EsrpCodeSigning@3
displayName: 'ESRP CodeSigning Nuget Packages'
inputs:
ConnectedServiceName: 'microsoftgraph ESRP CodeSign DLL and NuGet (AKV)'
Expand Down

0 comments on commit 7083ad8

Please sign in to comment.