|
11 | 11 | path: $(Build.ArtifactStagingDirectory)/NugetPackages |
12 | 12 | artifact: NugetPackages |
13 | 13 |
|
| 14 | + pool: |
| 15 | + name: 1es-pool-azfunc |
| 16 | + image: 1es-windows-2022 |
| 17 | + os: windows |
| 18 | + |
14 | 19 | variables: |
15 | 20 | ${{ if and( not(contains(variables['Build.SourceBranch'], '/release/')), not(startsWith(variables['Build.SourceBranch'], 'refs/tags')) ) }}: |
16 | 21 | buildNumberTemp: $(Build.BuildNumber) |
|
32 | 37 | displayName: Sign SDK assemblies |
33 | 38 | inputs: |
34 | 39 | ConnectedServiceName: ESRP Service-internal |
35 | | - FolderPath: sdk/Sdk/bin/Release |
36 | | - Pattern: Microsoft.Azure.Functions.Worker.Sdk*.dll |
37 | | - signConfigType: inlineSignParams |
38 | | - inlineOperation: | |
39 | | - [ |
40 | | - { |
41 | | - "KeyCode": "CP-230012", |
42 | | - "OperationCode": "SigntoolSign", |
43 | | - "Parameters": { |
44 | | - "OpusName": "Microsoft", |
45 | | - "OpusInfo": "http://www.microsoft.com", |
46 | | - "FileDigest": "/fd \"SHA256\"", |
47 | | - "PageHash": "/NPH", |
48 | | - "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256" |
49 | | - }, |
50 | | - "ToolName": "sign", |
51 | | - "ToolVersion": "1.0" |
52 | | - }, |
53 | | - { |
54 | | - "KeyCode": "CP-230012", |
55 | | - "OperationCode": "SigntoolVerify", |
56 | | - "Parameters": {}, |
57 | | - "ToolName": "sign", |
58 | | - "ToolVersion": "1.0" |
59 | | - } |
60 | | - ] |
61 | | -
|
62 | | - - task: DeleteFiles@1 |
63 | | - displayName: Delete CodeSignSummary files |
64 | | - inputs: |
65 | | - contents: '**/CodeSignSummary-*.md' |
66 | | - |
67 | | - - task: EsrpCodeSigning@2 |
68 | | - displayName: Sign SDK Analyzers assemblies |
69 | | - inputs: |
70 | | - ConnectedServiceName: ESRP Service-internal |
71 | | - FolderPath: sdk/Sdk.Analyzers/bin/Release |
| 40 | + FolderPath: sdk |
72 | 41 | Pattern: Microsoft.Azure.Functions.Worker.Sdk*.dll |
73 | 42 | signConfigType: inlineSignParams |
74 | 43 | inlineOperation: | |
|
98 | 67 | - task: DeleteFiles@1 |
99 | 68 | displayName: Delete CodeSignSummary files |
100 | 69 | inputs: |
| 70 | + sourceFolder: sdk |
101 | 71 | contents: '**/CodeSignSummary-*.md' |
102 | 72 |
|
103 | 73 | - task: EsrpCodeSigning@2 |
@@ -134,6 +104,7 @@ jobs: |
134 | 104 | - task: DeleteFiles@1 |
135 | 105 | displayName: Delete CodeSignSummary files |
136 | 106 | inputs: |
| 107 | + sourceFolder: src |
137 | 108 | contents: '**/CodeSignSummary-*.md' |
138 | 109 |
|
139 | 110 | - task: DotNetCoreCLI@2 |
@@ -182,4 +153,5 @@ jobs: |
182 | 153 | - task: DeleteFiles@1 |
183 | 154 | displayName: Delete CodeSignSummary files |
184 | 155 | inputs: |
| 156 | + sourceFolder: $(Build.ArtifactStagingDirectory)/NugetPackages |
185 | 157 | contents: '**/CodeSignSummary-*.md' |
0 commit comments