Skip to content

Commit 8e823c5

Browse files
committed
Update Powershell on runners for pester
1 parent cfc3eb6 commit 8e823c5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ jobs:
7878
- name: Checkout repository
7979
uses: actions/checkout@v3
8080

81+
- name: Install PowerShell 7.6
82+
run: |
83+
winget install --id Microsoft.PowerShell --source winget --accept-package-agreements --accept-source-agreements
84+
85+
8186
- name: Download Build Output
8287
uses: actions/download-artifact@v4
8388
with:
@@ -101,6 +106,11 @@ jobs:
101106
- name: Checkout repository
102107
uses: actions/checkout@v3
103108

109+
- name: Install PowerShell 7.6
110+
run: |
111+
brew update
112+
brew install --cask powershell
113+
104114
- name: Download Build Output
105115
uses: actions/download-artifact@v4
106116
with:

0 commit comments

Comments
 (0)