Skip to content

Commit ab5bf51

Browse files
committed
Only sign in official Windows build legs
1 parent 5300111 commit ab5bf51

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

eng/pipelines/coreclr/templates/build-job.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,12 @@ jobs:
261261
targetFolder: $(buildProductRootFolderPath)/sharedFramework
262262
overWrite: true
263263

264-
- template: /eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
265-
parameters:
266-
basePath: $(buildProductRootFolderPath)
267-
isOfficialBuild: ${{ parameters.signBinaries }}
268-
timeoutInMinutes: 30
264+
- ${{ if and(eq(parameters.osGroup, 'windows'), eq(parameters.signBinaries, true)) }}:
265+
- template: /eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
266+
parameters:
267+
basePath: $(buildProductRootFolderPath)
268+
isOfficialBuild: ${{ parameters.signBinaries }}
269+
timeoutInMinutes: 30
269270

270271
# Builds using gcc are not tested, and clrTools unitests do not publish the build artifacts
271272
- ${{ if and(ne(parameters.compilerName, 'gcc'), ne(parameters.testGroup, 'clrTools'), ne(parameters.disableClrTest, true)) }}:

eng/pipelines/coreclr/templates/crossdac-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ steps:
5353
5454
displayName: Gather CrossDac Artifacts
5555
56-
- template: /eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
57-
parameters:
58-
basePath: $(crossDacArtifactPath)
59-
isOfficialBuild: ${{ parameters.isOfficialBuild }}
60-
timeoutInMinutes: 30
56+
- template: /eng/pipelines/coreclr/templates/sign-diagnostic-files.yml
57+
parameters:
58+
basePath: $(crossDacArtifactPath)
59+
isOfficialBuild: ${{ parameters.isOfficialBuild }}
60+
timeoutInMinutes: 30
6161

6262
- ${{ if eq(parameters.osGroup, 'Linux') }}:
6363
- task: CopyFiles@2

0 commit comments

Comments
 (0)