Skip to content

Commit a9c1351

Browse files
committed
Add PowerShell 7.5 install for Windows and timeout
1 parent f550c64 commit a9c1351

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/cross-platform-test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
exe: PowerShell.MCP.Proxy
3131

3232
runs-on: ${{ matrix.os }}
33+
timeout-minutes: 15
3334

3435
steps:
3536
- uses: actions/checkout@v4
@@ -39,6 +40,14 @@ jobs:
3940
with:
4041
dotnet-version: '9.0.x'
4142

43+
- name: Install PowerShell 7.5 (Windows)
44+
if: runner.os == 'Windows'
45+
run: |
46+
# GitHub Actions has PowerShell 7.4 which uses .NET 8
47+
# PowerShell.MCP requires .NET 9, so we need PowerShell 7.5+
48+
winget install --id Microsoft.PowerShell --source winget --accept-source-agreements --accept-package-agreements
49+
shell: pwsh
50+
4251
- name: Install PowerShell (macOS)
4352
if: runner.os == 'macOS'
4453
run: |

0 commit comments

Comments
 (0)