Bump azure/powershell from 1 to 2 (#1741)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-08-28 09:40:04 +01:00 коммит произвёл GitHub
Родитель 5e9ac5a5e7
Коммит d8d28c1629
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 10 добавлений и 10 удалений

18
.github/workflows/test-portal.yml поставляемый
Просмотреть файл

@ -75,7 +75,7 @@ jobs:
run: env | sort
- name: List available pwsh modules
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: Get-Module -ListAvailable
azPSVersion: "latest"
@ -89,7 +89,7 @@ jobs:
enable-AzPSSession: true
- name: Register subscriptions
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: |
./src/scripts/Invoke-ActionRegisterSubscriptions.ps1
@ -99,14 +99,14 @@ jobs:
BILLING_SCOPE: ${{ secrets.BILLING_SCOPE }}
- name: Pre-process subscriptions
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: ./src/scripts/Invoke-ActionRemoveOrphanedRBAC.ps1
azPSVersion: "latest"
- name: Generate eslzArm configuration
id: config
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: |
./src/scripts/Invoke-ActionGenerateEslzArmConfig.ps1
@ -116,19 +116,19 @@ jobs:
DEPLOYMENT_LOCATION: ${{ secrets.DEPLOYMENT_LOCATION }}
- name: Run eslzArm deployment (TEST)
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: ./src/scripts/Invoke-ActionRunEslzArmDeployment.ps1 -Test
azPSVersion: "latest"
- name: Run eslzArm deployment (WHAT IF)
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: ./src/scripts/Invoke-ActionRunEslzArmDeployment.ps1 -WhatIf
azPSVersion: "latest"
- name: Run eslzArm deployment (DEPLOY)
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: ./src/scripts/Invoke-ActionRunEslzArmDeployment.ps1
azPSVersion: "latest"
@ -140,7 +140,7 @@ jobs:
Update-AzConfig -DisplayBreakingChangeWarning $false
- name: Pester Test for Policies
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: ./.github/actions-pester/PTF-TestPolicies.ps1
azPSVersion: "latest"
@ -150,7 +150,7 @@ jobs:
TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
- name: Run eslzArm deployment (DESTROY)
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: ./src/scripts/Invoke-ActionRunEslzArmDeployment.ps1 -Destroy
azPSVersion: "9.4.0"

2
.github/workflows/update-alz-tools.yml поставляемый
Просмотреть файл

@ -71,7 +71,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.github_token }}
- name: Update ProviderApiVersions
uses: azure/powershell@v1
uses: azure/powershell@v2
with:
inlineScript: src/Alz.Tools/scripts/Update-ProviderApiVersionsZip.ps1
azPSVersion: "latest"