From 979f8fd52f7e8f2f0b5418a9140ea2209b953007 Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Thu, 13 Jun 2024 00:55:53 -0700 Subject: [PATCH] (build) Specify GHA shell as Windows PowerShell The default shell on Windows runners is pwsh, but running the PSSA task under pwsh was resulting in an error running `Install-Module`. This error is not exhibited when running under Windows Powershell. --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a04018c31..2f700f481 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,7 @@ jobs: key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Build project + shell: powershell run: | ./build.ps1 --target=CI