Skip to content

Commit

Permalink
Fixed Az PS module versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Helder Pinto committed May 21, 2024
1 parent 5b9860b commit 3448497
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/aoe-cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ jobs:
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name Az.Accounts,Az.Resources,Az.Storage,Az.OperationalInsights,Az.Sql,Az.Automation,Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement -Force
Install-Module -Name Az.Accounts -RequiredVersion 2.19.0 -Force
Install-Module -Name Az.Resources -RequiredVersion 6.16.2 -Force
Install-Module -Name Az.Storage -RequiredVersion 6.2.0 -Force
Install-Module -Name Az.OperationalInsights -RequiredVersion 3.2.0 -Force
Install-Module -Name Az.Sql -RequiredVersion 4.14.1 -Force
Install-Module -Name Az.Automation -RequiredVersion 1.10.0 -Force
Install-Module -Name Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement -Force
- name: Check out repository code
uses: actions/checkout@v3
- name: Login via Az module
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/aoe-cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ jobs:
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name Az.Accounts,Az.Resources,Az.Storage,Az.OperationalInsights,Az.Sql,Az.Automation,Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement -Force
Install-Module -Name Az.Accounts -RequiredVersion 2.19.0 -Force
Install-Module -Name Az.Resources -RequiredVersion 6.16.2 -Force
Install-Module -Name Az.Storage -RequiredVersion 6.2.0 -Force
Install-Module -Name Az.OperationalInsights -RequiredVersion 3.2.0 -Force
Install-Module -Name Az.Sql -RequiredVersion 4.14.1 -Force
Install-Module -Name Az.Automation -RequiredVersion 1.10.0 -Force
Install-Module -Name Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement -Force
- name: Check out repository code
uses: actions/checkout@v3
- name: Login via Az module
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/aoe-cd-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ jobs:
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name Az.Accounts,Az.Resources,Az.Storage,Az.OperationalInsights,Az.Sql,Az.Automation,Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement -Force
Install-Module -Name Az.Accounts -RequiredVersion 2.19.0 -Force
Install-Module -Name Az.Resources -RequiredVersion 6.16.2 -Force
Install-Module -Name Az.Storage -RequiredVersion 6.2.0 -Force
Install-Module -Name Az.OperationalInsights -RequiredVersion 3.2.0 -Force
Install-Module -Name Az.Sql -RequiredVersion 4.14.1 -Force
Install-Module -Name Az.Automation -RequiredVersion 1.10.0 -Force
Install-Module -Name Microsoft.Graph.Authentication,Microsoft.Graph.Identity.DirectoryManagement -Force
- name: Check out repository code
uses: actions/checkout@v3
- name: Login via Az module
Expand Down

0 comments on commit 3448497

Please sign in to comment.