Skip to content

Commit

Permalink
(build) Specify GHA shell as Windows PowerShell
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gep13 committed Jun 13, 2024
1 parent d0e7c92 commit 979f8fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}

- name: Build project
shell: powershell
run: |
./build.ps1 --target=CI
Expand Down

0 comments on commit 979f8fd

Please sign in to comment.