Skip to content

Commit 5161483

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
set build and copy steps before signing setup
1 parent 8c1d3dd commit 5161483

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pipelines/DSC-Official.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ extends:
9797
steps:
9898
- checkout: self
9999
target: host
100+
env:
101+
ob_restore_phase: true
100102
- task: CodeQL3000Init@0 # Add CodeQL Init task right before your 'Build' step.
101103
inputs:
102104
Enabled: true
@@ -106,10 +108,14 @@ extends:
106108
$tmpdir = "$(Agent.TempDirectory)"
107109
Write-Host "##vso[task.setvariable variable=CARGO_TARGET_DIR;]$tmpdir"
108110
displayName: 🛠️ Workaround for the LoadLibrary ACCESS_VIOLATION OneBranch issue
111+
env:
112+
ob_restore_phase: true
109113
- pwsh: |
110114
Set-Location "$(Build.SourcesDirectory)/DSC"
111115
./build.ps1 -Release -Architecture $(buildName) -SkipLinkCheck
112116
displayName: 'Build $(buildName)'
117+
env:
118+
ob_restore_phase: true
113119
condition: succeeded()
114120
- task: CodeQL3000Finalize@0 # Add CodeQL Finalize task right after your 'Build' step.
115121
condition: always()
@@ -126,6 +132,8 @@ extends:
126132
write-host 'Binaries in $(signSrcPath)'
127133
dir -r "$(signSrcPath)"
128134
displayName: Copy built binaries
135+
env:
136+
ob_restore_phase: true
129137
condition: succeeded()
130138
- task: onebranch.pipeline.signing@1
131139
displayName: Sign 1st party files

0 commit comments

Comments
 (0)