Skip to content

Commit 582f1ff

Browse files
Add Microsoft package repo before installing Pwsh on Ubuntu
1 parent f6146e7 commit 582f1ff

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,14 @@ jobs:
3434
with:
3535
fetch-depth: 0
3636

37-
- name: Install dependencies
38-
run: |
39-
sudo apt-get update
40-
sudo apt-get install -y clang lld powershell
37+
- name: Install dependencies
38+
run: |
39+
sudo apt-get update
40+
sudo apt-get install -y wget
41+
wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
42+
sudo dpkg -i packages-microsoft-prod.deb
43+
sudo apt-get update
44+
sudo apt-get install -y clang lld powershell
4145
4246
- name: Build interpreter and extensions
4347
shell: pwsh

0 commit comments

Comments
 (0)