From cb3b0dde5faed94fab085f246bf71fb59457826a Mon Sep 17 00:00:00 2001 From: Tianlei WU Date: Fri, 13 Feb 2026 16:59:34 -0800 Subject: [PATCH] fix python packaging pipeline --- .../azure-pipelines/templates/publish-symbolrequestprod-api.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/publish-symbolrequestprod-api.yml b/tools/ci_build/github/azure-pipelines/templates/publish-symbolrequestprod-api.yml index e7a4975122784..981989f519ae4 100644 --- a/tools/ci_build/github/azure-pipelines/templates/publish-symbolrequestprod-api.yml +++ b/tools/ci_build/github/azure-pipelines/templates/publish-symbolrequestprod-api.yml @@ -68,7 +68,7 @@ steps: # Convert the SecureString token to a plain text string for the HTTP header # This is done just-in-time before its use. - $plainTextToken = $secureTokenObject | ConvertFrom-SecureString -AsPlainText + $plainTextToken = [System.Net.NetworkCredential]::new("", $secureTokenObject).Password Write-Host "Token converted to plain text for API call (will not be logged)." # Part 2: Publish Symbols using internal REST API