From e7aee39f1876c8ea4d5c0232a1df67618e3a5d9d Mon Sep 17 00:00:00 2001 From: Haritha <73516759+HarithaVattikuti@users.noreply.github.com> Date: Wed, 5 Nov 2025 12:39:58 -0600 Subject: [PATCH] Add conditional check for Pester installation --- .github/workflows/build-tool-packages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-tool-packages.yml b/.github/workflows/build-tool-packages.yml index d6011a0..fb7cd80 100644 --- a/.github/workflows/build-tool-packages.yml +++ b/.github/workflows/build-tool-packages.yml @@ -161,6 +161,7 @@ jobs: for ($i = 0; $i -lt 200; $i++) { Get-Random } - name: Ensure Pester Installed + if: env.excludewinarm == 'true' run: | $module = Get-Module -ListAvailable -Name Pester if (-not $module -or ($module.Version -lt [Version]"5.0.0")) {