Convert ADO variables to booleans

This commit is contained in:
Justin Chung
2025-10-06 13:06:15 -05:00
parent 9850bc90ac
commit c24752e496
2 changed files with 5 additions and 6 deletions
-6
View File
@@ -1,6 +0,0 @@
# CredScan suppression file
# Test certificate with private key
\\test\\tools\\Modules\\WebListener\\ClientCert.pfx
\\test\\tools\\Modules\\WebListener\\ServerCert.pfx
# Test certificate with private key and inline suppression isn't working
\\test\\powershell\\Modules\\Microsoft.PowerShell.Security\\certificateCommon.psm1
@@ -63,6 +63,11 @@ jobs:
inputs:
targetType: inline
script: |
# Convert ADO variables to PowerShell boolean variables
$IsLTS = '$(LTS)' -eq 'true'
$IsStable = '$(STABLE)' -eq 'true'
$IsPreview = '$(PREVIEW)' -eq 'true'
Write-Verbose -Verbose "Channel Selection - LTS: $(LTS), Stable: $(Stable), Preview: $(Preview)"
# Define app configurations for each channel using secret variables