mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Revert "[Ubuntu] Install pwsh using dotnet tool" (#1979)
This commit is contained in:
committed by
GitHub
parent
d511b0d2da
commit
2842ad4c00
@@ -9,8 +9,7 @@ source $HELPER_SCRIPTS/os.sh
|
|||||||
|
|
||||||
# Install Powershell
|
# Install Powershell
|
||||||
if isUbuntu20 ; then
|
if isUbuntu20 ; then
|
||||||
dotnet tool install --tool-path /opt/microsoft/powershell/7 powershell
|
snap install powershell --classic --channel=edge/useedge
|
||||||
ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if isUbuntu16 || isUbuntu18 ; then
|
if isUbuntu16 || isUbuntu18 ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user