Change PowerShell install method

This commit is contained in:
Ajeet D'Souza 2020-10-18 15:08:13 +05:30
parent aca2477b68
commit 1e7976fb48

View File

@ -6,11 +6,15 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- run: sudo apt update
- run: sudo apt install bash dash fish shellcheck xonsh zsh
- run: sudo snap install powershell --classic
- run: sudo apt install wget apt-transport-https
- run: wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
- run: sudo dpkg -i packages-microsoft-prod.deb
- run: sudo apt update
- run: sudo add-apt-repository universe
- run: sudo apt install bash dash fish powershell shellcheck xonsh zsh
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with: