Skip to content

Commit 76767aa

Browse files
committed
(#51) Linux: install PowerShell
1 parent 7028cc2 commit 76767aa

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
with:
2525
submodules: true
2626

27+
- name: Install PowerShell
28+
run: sh ./linux/install-pwsh.sh
29+
2730
# Build:
2831
- name: Install
2932
shell: pwsh
@@ -81,6 +84,9 @@ jobs:
8184
with:
8285
submodules: true
8386

87+
- name: Install PowerShell
88+
run: bash ./linux/install-pwsh.sh
89+
8490
- name: Download Linux artifact
8591
uses: actions/download-artifact@v2
8692
with:

linux/install-pwsh.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
set -e
2+
3+
apt-get update && apt-get install wget
4+
5+
cd /tmp
6+
wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
7+
dpkg -i packages-microsoft-prod.deb
8+
9+
apt-get update && apt-get install powershell

0 commit comments

Comments
 (0)