File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -378,8 +378,8 @@ extends:
378
378
$header = "Bearer $accessToken"
379
379
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN]$header"
380
380
381
- $credentialProvider = "cargo:token"
382
- Write-Host "##[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_CREDENTIAL_PROVIDER]$credentialProvider"
381
+ # $credentialProvider = "cargo:token"
382
+ # Write-Host "##[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_CREDENTIAL_PROVIDER]$credentialProvider"
383
383
displayName : ' Get Azure DevOps Token'
384
384
env :
385
385
ob_restore_phase : true
@@ -388,7 +388,7 @@ extends:
388
388
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
389
389
Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
390
390
Add-Content -Path "./.cargo/config.toml" -Value '[registry]'
391
- Add-Content -Path "./.cargo/config.toml" -Value 'global-credential-provider = ["cargo:token"]'
391
+ Add-Content -Path "./.cargo/config.toml" -Value 'global-credential-providers = ["cargo:token"]'
392
392
393
393
$c = get-content "./.cargo/config.toml" | Out-String
394
394
Write-Host $c
You can’t perform that action at this time.
0 commit comments