diff --git a/.github/workflows/module-tests.yml b/.github/workflows/module-tests.yml index 08657e2a..db7da7fc 100644 --- a/.github/workflows/module-tests.yml +++ b/.github/workflows/module-tests.yml @@ -44,7 +44,7 @@ jobs: - name: Vend Subscriptions & Networking Scenarios (What-If & Validate) id: vend-whatif - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | $inputObject = @{ @@ -63,7 +63,7 @@ jobs: - name: Vend Subscriptions & Networking Scenarios (Deploy) id: vend - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | $inputObject = @{ @@ -84,7 +84,7 @@ jobs: - name: Pester Tests id: pester - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | Import-Module Pester -Force @@ -108,7 +108,7 @@ jobs: - name: Cleanup Vended Subscription & Networking Scenarios id: cleanup-vend if: always() - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | # Resource Group Names diff --git a/.github/workflows/release-tests.yml b/.github/workflows/release-tests.yml index 2e78cf3c..79b89f72 100644 --- a/.github/workflows/release-tests.yml +++ b/.github/workflows/release-tests.yml @@ -21,7 +21,7 @@ jobs: - name: Pester Tests id: pester if: contains(github.head_ref, 'release') - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | Import-Module Pester -Force