Skip to content

Commit cb3b0dd

Browse files
committed
fix python packaging pipeline
1 parent 735e69a commit cb3b0dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci_build/github/azure-pipelines/templates/publish-symbolrequestprod-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ steps:
6868
6969
# Convert the SecureString token to a plain text string for the HTTP header
7070
# This is done just-in-time before its use.
71-
$plainTextToken = $secureTokenObject | ConvertFrom-SecureString -AsPlainText
71+
$plainTextToken = [System.Net.NetworkCredential]::new("", $secureTokenObject).Password
7272
Write-Host "Token converted to plain text for API call (will not be logged)."
7373
7474
# Part 2: Publish Symbols using internal REST API

0 commit comments

Comments
 (0)