Skip to content

Commit a230baf

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
update
1 parent 5161483 commit a230baf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pipelines/DSC-Official.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ extends:
6666
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
6767
steps:
6868
- checkout: self
69-
target: host
7069
- pwsh: |
7170
$packageVersion = $(repoRoot)/build.ps1 -GetPackageVersion
7271
$vstsCommandString = "vso[task.setvariable variable=Version;isoutput=true]$packageVersion"
@@ -96,14 +95,15 @@ extends:
9695
displayName: BuildWin
9796
steps:
9897
- checkout: self
99-
target: host
10098
env:
10199
ob_restore_phase: true
102100
- task: CodeQL3000Init@0 # Add CodeQL Init task right before your 'Build' step.
103101
inputs:
104102
Enabled: true
105103
AnalyzeInPipeline: true
106104
Language: rust
105+
env:
106+
ob_restore_phase: true
107107
- pwsh: |
108108
$tmpdir = "$(Agent.TempDirectory)"
109109
Write-Host "##vso[task.setvariable variable=CARGO_TARGET_DIR;]$tmpdir"
@@ -119,6 +119,8 @@ extends:
119119
condition: succeeded()
120120
- task: CodeQL3000Finalize@0 # Add CodeQL Finalize task right after your 'Build' step.
121121
condition: always()
122+
env:
123+
ob_restore_phase: true
122124
- pwsh: |
123125
$null = New-Item -ItemType Directory -Path "$(PackageRoot)" -ErrorAction Ignore
124126
$null = New-Item -ItemType Directory -Path "$(PackageRoot)/out" -ErrorAction Ignore
@@ -176,7 +178,6 @@ extends:
176178
- download: current
177179
patterns: '*.msix'
178180
- checkout: self
179-
target: host
180181
- pwsh: |
181182
Set-Location "$(Build.SourcesDirectory)/DSC"
182183
write-host "Contents of $(ob_outputDirectory)"

0 commit comments

Comments
 (0)