mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Convert ADO variables to booleans
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user