File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 8
8
parameters :
9
9
name : ' PrepareSignedArtifacts'
10
10
displayName : ' Prepare Signed Artifacts'
11
+ microbuildUseESRP : ${{ parameters.isOfficialBuild }}
11
12
12
13
pool :
13
14
name : $(DncEngInternalBuildPool)
22
23
enableMicrobuild : true
23
24
24
25
variables :
26
+ - ${{ if eq(parameters.isOfficialBuild, true) }} :
25
27
- name : ' _SignType'
26
28
value : $[ coalesce(variables.OfficialSignType, 'real') ]
27
-
29
+ - ${{ else }} :
30
+ - name : ' _SignType'
31
+ value : $[ coalesce(variables.OfficialSignType, 'test') ]
32
+
28
33
templateContext :
29
34
inputs :
30
35
- input : checkout
40
45
condition : succeededOrFailed()
41
46
targetPath : ' $(Build.StagingDirectory)\BuildLogs'
42
47
artifactName : ${{ parameters.logArtifactName }}
43
-
48
+
44
49
steps :
45
50
- script : >-
46
51
build.cmd -restore -sign -publish -ci -configuration Release
53
58
/p:DotNetPublishUsingPipelines=true
54
59
/bl:$(Build.SourcesDirectory)\prepare-artifacts.binlog
55
60
displayName: Prepare artifacts and upload to build
56
-
61
+
57
62
- task : CopyFiles@2
58
63
displayName : Copy Files to $(Build.StagingDirectory)\BuildLogs
59
64
inputs :
63
68
**/*.binlog
64
69
TargetFolder : ' $(Build.StagingDirectory)\BuildLogs'
65
70
continueOnError : true
66
- condition : succeededOrFailed()
71
+ condition : succeededOrFailed()
Original file line number Diff line number Diff line change 1
1
parameters :
2
2
PublishRidAgnosticPackagesFromPlatform : Browser_wasm_win
3
+ isOfficialBuild : true
3
4
4
5
stages :
5
6
@@ -12,6 +13,7 @@ stages:
12
13
- template : /eng/pipelines/official/jobs/prepare-signed-artifacts.yml
13
14
parameters :
14
15
PublishRidAgnosticPackagesFromPlatform : ${{ parameters.PublishRidAgnosticPackagesFromPlatform }}
16
+ isOfficialBuild : ${{ parameters.isOfficialBuild }}
15
17
16
18
# Publish to Build Asset Registry in order to generate the ReleaseConfigs artifact.
17
19
- template : /eng/common/templates-official/job/publish-build-assets.yml
Original file line number Diff line number Diff line change @@ -54,4 +54,4 @@ extends:
54
54
librariesConfiguration : Release
55
55
- template : /eng/pipelines/official/stages/publish.yml
56
56
parameters :
57
- isOfficialBuild : true
57
+ isOfficialBuild : false
You can’t perform that action at this time.
0 commit comments