cap the name of output variable

This commit is contained in:
Tian Liao 2024-03-15 15:29:47 +08:00
commit 499986a475

View file

@ -42,7 +42,7 @@ jobs:
$auth = Get-Content -Raw $configPath | ConvertFrom-Json $auth = Get-Content -Raw $configPath | ConvertFrom-Json
$sbomKeyCode = $auth._ExtraContext.SbomKeyCode $sbomKeyCode = $auth._ExtraContext.SbomKeyCode
echo $sbomKeyCode echo $sbomKeyCode
echo "##vso[task.setvariable variable=sbomKeyCode]$sbomKeyCode" echo "##vso[task.setvariable variable=SbomKeyCode]$sbomKeyCode"
displayName: Get SBOM Key Code displayName: Get SBOM Key Code
- task: PkgESVPack@12 - task: PkgESVPack@12
@ -59,5 +59,5 @@ jobs:
taskLogVerbosity: Diagnostic taskLogVerbosity: Diagnostic
coseUsageScenario: 'product' coseUsageScenario: 'product'
signSbom: true signSbom: true
sbomKeyCode: $(sbomkeyCode) sbomKeyCode: $(SbomkeyCode)
pathToEsrpAuthJson: '$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json' pathToEsrpAuthJson: '$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json'