@@ -133,9 +133,10 @@ extends:
133
133
variables :
134
134
ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
135
135
ob_sdl_tsa_configFile : ' $(Build.SourcesDirectory)\DSC\.config\tsaoptions.json'
136
- ob_sdl_sbom_enabled : true
137
- ob_signing_setup_enabled : true
138
- ob_sdl_codeql_compiled_enabled : true
136
+ ob_sdl_sbom_enabled : false
137
+ ob_signing_setup_enabled : false
138
+ ob_sdl_codeql_compiled_enabled : false
139
+ ob_restore_phase : true
139
140
pool :
140
141
type : windows
141
142
steps :
@@ -152,17 +153,39 @@ extends:
152
153
Copy-Item "$(Pipeline.Workspace)/drop_BuildAndSign_BuildWin_x64/*.msix" ./bin/msix -Verbose
153
154
Copy-Item "$(Pipeline.Workspace)/drop_BuildAndSign_BuildWin_arm64/*.msix" ./bin/msix -Verbose
154
155
./build.ps1 -PackageType msixbundle
155
- Copy-Item ./ bin/*.msixbundle "$(ob_outputDirectory)"
156
+ Copy-Item "$(Build.SourcesDirectory)/DSC/ bin/*.msixbundle" "$(ob_outputDirectory)"
156
157
displayName: 'Create msixbundle'
157
158
condition: succeeded()
159
+
160
+ - job : SignMsixBundle
161
+ dependsOn : CreateMsixBundle
162
+ variables :
163
+ ob_outputDirectory : ' $(Build.ArtifactStagingDirectory)'
164
+ ob_sdl_sbom_enabled : false
165
+ ob_signing_setup_enabled : true
166
+ ob_sdl_codeql_compiled_enabled : false
167
+ pool :
168
+ type : windows
169
+ steps :
170
+ - task : DownloadPipelineArtifact@2
171
+ inputs :
172
+ buildType : ' current'
173
+ artifact : drop_BuildAndSign_CreateMsixBundle
174
+ itemPattern : |
175
+ **/*.msixbundle
176
+ targetPath : ' $(Build.ArtifactStagingDirectory)/downloads'
177
+ displayName : Download MsixBundle
158
178
- task : onebranch.pipeline.signing@1
159
179
displayName : Sign MsixBundle
160
180
condition : succeeded()
161
181
inputs :
162
182
command : ' sign'
163
- signing_profile : $(MSIXProfile)
183
+ signing_profile : ' Dynamic-WINMSAPP1ST '
164
184
files_to_sign : ' *.msixbundle'
165
- search_root : ' $(ob_outputDirectory)'
185
+ search_root : ' $(Build.ArtifactStagingDirectory)/downloads'
186
+ - pwsh : |
187
+ Copy-Item "$(Build.ArtifactStagingDirectory)/downloads/*.msixbundle" "$(ob_outputDirectory)"
188
+ displayName: 'Copy MsixBundle to output directory'
166
189
167
190
- job : BuildLinuxMusl
168
191
dependsOn : SetPackageVersion
0 commit comments