mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
install powershell Ubuntu 20.04
This commit is contained in:
@@ -8,7 +8,13 @@
|
|||||||
source $HELPER_SCRIPTS/document.sh
|
source $HELPER_SCRIPTS/document.sh
|
||||||
|
|
||||||
# Install Powershell
|
# Install Powershell
|
||||||
snap install powershell --classic --channel=edge/useedge
|
if isUbuntu20 ; then
|
||||||
|
snap install powershell --classic --channel=edge/useedge
|
||||||
|
fi
|
||||||
|
|
||||||
|
if isUbuntu16 || isUbuntu18 ; then
|
||||||
|
apt-get install -y powershell
|
||||||
|
fi
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||||
|
|||||||
Reference in New Issue
Block a user