mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 13:23:13 -07:00
try get variable properly
This commit is contained in:
parent
f77c37ff21
commit
3ade794f66
1 changed files with 3 additions and 2 deletions
|
@ -41,7 +41,8 @@ jobs:
|
||||||
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json"
|
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json"
|
||||||
$auth = Get-Content -Raw $configPath | ConvertFrom-Json
|
$auth = Get-Content -Raw $configPath | ConvertFrom-Json
|
||||||
$sbomKeyCode = $auth._ExtraContext.SbomKeyCode
|
$sbomKeyCode = $auth._ExtraContext.SbomKeyCode
|
||||||
echo "##vso[task.setvariable variable=keyCode; isOutput=true]$sbomKeyCode"
|
echo $sbomKeyCode
|
||||||
|
echo "##vso[task.setvariable variable=keyCode]$sbomKeyCode"
|
||||||
displayName: Get SBOM Key Code
|
displayName: Get SBOM Key Code
|
||||||
name: getSbomKeyCode
|
name: getSbomKeyCode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue