mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 20:26:49 +00:00
swap snap to apt-get
This commit is contained in:
@@ -4,17 +4,8 @@
|
|||||||
## Desc: Installs powershellcore
|
## Desc: Installs powershellcore
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Source the helpers for use with the script
|
|
||||||
source $HELPER_SCRIPTS/os.sh
|
|
||||||
|
|
||||||
# Install Powershell
|
# Install Powershell
|
||||||
if isUbuntu20 ; then
|
apt-get install -y powershell
|
||||||
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