Skip to content

Commit 9eec202

Browse files
committed
put linux rust install first
1 parent feeb04f commit 9eec202

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.pipelines/DSC-Official.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,15 @@ extends:
253253
pool:
254254
type: linux
255255
steps:
256+
- task: RustInstaller@1
257+
inputs:
258+
rustVersion: ms-stable
259+
toolchainFeed: https://pkgs.dev.azure.com/mscodehub/Rust/_packaging/Rust/nuget/v3/index.json
260+
#cratesIoFeedOverride: sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index/
261+
additionalTargets: x86_64-unknown-linux-gnu
262+
displayName: Install Rust
263+
env:
264+
ob_restore_phase: true
256265
- task: AzureCLI@2
257266
inputs:
258267
azureSubscription: az-PowerShell-feed-ingestion
@@ -271,15 +280,6 @@ extends:
271280
displayName: 'Get Azure DevOps Token'
272281
env:
273282
ob_restore_phase: true
274-
- task: RustInstaller@1
275-
inputs:
276-
rustVersion: ms-stable
277-
toolchainFeed: https://pkgs.dev.azure.com/mscodehub/Rust/_packaging/Rust/nuget/v3/index.json
278-
#cratesIoFeedOverride: sparse+https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/Cargo/index/
279-
additionalTargets: x86_64-unknown-linux-gnu
280-
displayName: Install Rust
281-
env:
282-
ob_restore_phase: true
283283
- pwsh: |
284284
Write-Host "Use 'powershell' CFS"
285285
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'

0 commit comments

Comments
 (0)