Skip to content

Commit

Permalink
Pin to ALZ PowerShell version which supports line endings function
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Feb 13, 2025
1 parent 1ded231 commit 52592a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/Invoke-PolicyToBicep.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ param (
if (-not (Get-Module -ListAvailable -Name ALZ)) {
# Module doesn't exist, so install it
Write-Information "====> ALZ module isn't already installed. Installing..." -InformationAction Continue
Install-Module -Name ALZ -Force -Scope CurrentUser -ErrorAction Stop
Install-Module -Name ALZ -Force -Scope CurrentUser -ErrorAction Stop -RequiredVersion '4.2.0'
Write-Information "====> ALZ module now installed." -InformationAction Continue
} else {
Write-Information "====> ALZ module is already installed." -InformationAction Continue
Expand Down

0 comments on commit 52592a4

Please sign in to comment.