From 46992e38fce9f369d61a0b26b116d591aff61a83 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Thu, 4 Jan 2024 15:12:44 -0500 Subject: [PATCH] Add curl to build images --- .github/workflows/powershell.yml | 6 ++++++ build.ps1 | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/powershell.yml b/.github/workflows/powershell.yml index c3bc593..c4e440d 100644 --- a/.github/workflows/powershell.yml +++ b/.github/workflows/powershell.yml @@ -82,6 +82,12 @@ jobs: name: build path: publish + - name: Install Curl + shell: pwsh + run: | + apt-get update + apt-get install curl -y + - uses: testspace-com/setup-testspace@v1 with: domain: ${{github.repository_owner}} diff --git a/build.ps1 b/build.ps1 index d9ffbce..cd7fd94 100644 --- a/build.ps1 +++ b/build.ps1 @@ -124,9 +124,7 @@ function Build { function Test { param () - if ($null -eq (Get-Module Pester -ListAvailable)) { - Install-Module -Name Pester -Confirm:$false -Force - } + Install-Module -Name Pester -MinimumVersion 5.5.0 -Confirm:$false $config = [PesterConfiguration]::Default $config.Run.Path = "test"