Skip to content

Commit 0dd1b29

Browse files
committed
remove issecret
1 parent 9f808bf commit 0dd1b29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pipelines/DSC-Official.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ extends:
136136
# Set the access token as a secret, so it doesn't get leaked in the logs
137137
Write-Host "##vso[task.setsecret]$accessToken"
138138
$header = "Bearer $accessToken"
139-
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN;issecret=true]$header"
139+
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN]$header"
140140
displayName: 'Get Azure DevOps Token'
141141
env:
142142
ob_restore_phase: true
@@ -270,7 +270,7 @@ extends:
270270
# Set the access token as a secret, so it doesn't get leaked in the logs
271271
Write-Host "##vso[task.setsecret]$accessToken"
272272
$header = "Bearer $accessToken"
273-
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN;issecret=true]$header"
273+
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN]$header"
274274
displayName: 'Get Azure DevOps Token'
275275
env:
276276
ob_restore_phase: true
@@ -314,7 +314,7 @@ extends:
314314
# Set the access token as a secret, so it doesn't get leaked in the logs
315315
Write-Host "##vso[task.setsecret]$accessToken"
316316
$header = "Bearer $accessToken"
317-
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN;issecret=true]$header"
317+
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN]$header"
318318
displayName: 'Get Azure DevOps Token'
319319
env:
320320
ob_restore_phase: true
@@ -366,7 +366,7 @@ extends:
366366
# Set the access token as a secret, so it doesn't get leaked in the logs
367367
Write-Host "##vso[task.setsecret]$accessToken"
368368
$header = "Bearer $accessToken"
369-
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN;issecret=true]$header"
369+
Write-Host "##vso[task.setvariable variable=CARGO_REGISTRIES_POWERSHELL_TOKEN]$header"
370370
displayName: 'Get Azure DevOps Token'
371371
env:
372372
ob_restore_phase: true

0 commit comments

Comments
 (0)