Skip to content

Commit 5c87cc1

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix passing aztoken
1 parent f10254b commit 5c87cc1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.pipelines/DSC-Official.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ extends:
126126
ob_sdl_tsa_configFile: '$(Build.SourcesDirectory)\DSC\.config\tsaoptions.json'
127127
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
128128
signSrcPath: '$(Build.SourcesDirectory)\out'
129+
AzToken: $[ dependencies.SetPackageVersion.outputs['AzToken'] ]
129130
ob_sdl_sbom_enabled: true
130131
ob_signing_setup_enabled: true
131132
ob_sdl_codeql_compiled_enabled: true

.pipelines/DSC-Windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ steps:
3939
env:
4040
ob_restore_phase: true
4141
- pwsh: |
42-
write-verbose -verbose "Token: ${{ parameters.aztoken }}"
4342
$header = "Bearer ${{ parameters.aztoken }}"
4443
$env:CARGO_REGISTRIES_POWERSHELL_TOKEN = $header
4544
$env:CARGO_REGISTRIES_POWERSHELL_CREDENTIAL_PROVIDER = 'cargo:token'

0 commit comments

Comments
 (0)