diff --git a/.github/actions/initialize/action.yml b/.github/actions/initialize/action.yml index 8be6f29..cc75fba 100644 --- a/.github/actions/initialize/action.yml +++ b/.github/actions/initialize/action.yml @@ -23,10 +23,8 @@ runs: - name: Install and Import Modules shell: pwsh run: | - Install-Module Az.Storage -AllowClobber -Force - Install-Module Az.Sql -AllowClobber -Force - Install-Module Az.Websites -AllowClobber -Force - Install-Module SqlServer -AllowClobber -Force + Install-Module Az -RequiredVersion 10.4.1 -AllowClobber -Force + Install-Module SqlServer -RequiredVersion 22.1.1 -AllowClobber -Force foreach ($moduleName in (Get-ChildItem -Directory | select Name)) { @@ -35,3 +33,5 @@ runs: Import-Module $moduleName.Name } } + + Get-Module -ListAvailable