Skip to content

Commit 0f1153c

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
Sign msixbundle within sources directory then copy
1 parent 2a52932 commit 0f1153c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.pipelines/DSC-Official.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ extends:
136136
ob_sdl_sbom_enabled: true
137137
ob_signing_setup_enabled: true
138138
ob_sdl_codeql_compiled_enabled: true
139+
ob_restore_phase: true
139140
pool:
140141
type: windows
141142
steps:
@@ -152,7 +153,6 @@ extends:
152153
Copy-Item "$(Pipeline.Workspace)/drop_BuildAndSign_BuildWin_x64/*.msix" ./bin/msix -Verbose
153154
Copy-Item "$(Pipeline.Workspace)/drop_BuildAndSign_BuildWin_arm64/*.msix" ./bin/msix -Verbose
154155
./build.ps1 -PackageType msixbundle
155-
Copy-Item ./bin/*.msixbundle "$(ob_outputDirectory)"
156156
displayName: 'Create msixbundle'
157157
condition: succeeded()
158158
- task: onebranch.pipeline.signing@1
@@ -162,7 +162,10 @@ extends:
162162
command: 'sign'
163163
signing_profile: 'Dynamic-WINMSAPP1ST'
164164
files_to_sign: '*.msixbundle'
165-
search_root: '$(ob_outputDirectory)'
165+
search_root: '$(Build.SourcesDirectory)\bin'
166+
- pwsh: |
167+
Copy-Item ./bin/*.msixbundle "$(ob_outputDirectory)"
168+
displayName: 'Copy MsixBundle to output directory'
166169
167170
- job: BuildLinuxMusl
168171
dependsOn: SetPackageVersion

0 commit comments

Comments
 (0)