@@ -123,10 +123,14 @@ extends:
123
123
cratesIoFeedOverride : sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index/
124
124
additionalTargets : $(buildTarget)
125
125
displayName : Install Rust
126
+ env :
127
+ ob_restore_phase : true
126
128
- task : CargoAuthenticate@0
127
129
inputs :
128
130
configFile : " .cargo/config.toml"
129
131
displayName : Authenticating cargo crates registry
132
+ env :
133
+ ob_restore_phase : true
130
134
- pwsh : |
131
135
Set-Location "$(Build.SourcesDirectory)/DSC"
132
136
Write-Host "Use 'powershell' CFS"
@@ -244,10 +248,14 @@ extends:
244
248
cratesIoFeedOverride : sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index/
245
249
additionalTargets : x86_64-unknown-linux-gnu
246
250
displayName : Install Rust
251
+ env :
252
+ ob_restore_phase : true
247
253
- task : CargoAuthenticate@0
248
254
inputs :
249
255
configFile : " .cargo/config.toml"
250
256
displayName : Authenticating cargo crates registry
257
+ env :
258
+ ob_restore_phase : true
251
259
- pwsh : |
252
260
Write-Host "Use 'powershell' CFS"
253
261
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
@@ -275,10 +283,14 @@ extends:
275
283
cratesIoFeedOverride : sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index/
276
284
additionalTargets : aarch64-unknown-linux-gnu
277
285
displayName : Install Rust
286
+ env :
287
+ ob_restore_phase : true
278
288
- task : CargoAuthenticate@0
279
289
inputs :
280
290
configFile : " .cargo/config.toml"
281
291
displayName : Authenticating cargo crates registry
292
+ env :
293
+ ob_restore_phase : true
282
294
- pwsh : |
283
295
Write-Host "Use 'powershell' CFS"
284
296
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
@@ -314,10 +326,14 @@ extends:
314
326
cratesIoFeedOverride : sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index/
315
327
additionalTargets : $(buildTarget)
316
328
displayName : Install Rust
329
+ env :
330
+ ob_restore_phase : true
317
331
- task : CargoAuthenticate@0
318
332
inputs :
319
333
configFile : " .cargo/config.toml"
320
334
displayName : Authenticating cargo crates registry
335
+ env :
336
+ ob_restore_phase : true
321
337
- pwsh : |
322
338
Write-Host "Use 'powershell' CFS"
323
339
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
0 commit comments