mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
1804/powershellcore.sh - adding the modification of dotnetdev.list file
This commit is contained in:
@@ -8,11 +8,12 @@
|
|||||||
source $HELPER_SCRIPTS/document.sh
|
source $HELPER_SCRIPTS/document.sh
|
||||||
|
|
||||||
LSB_RELEASE=$(lsb_release -rs)
|
LSB_RELEASE=$(lsb_release -rs)
|
||||||
|
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list'
|
||||||
|
|
||||||
# Install Powershell
|
# Install Powershell
|
||||||
apt-get install -y powershell
|
apt-get install -y powershell
|
||||||
|
|
||||||
# Temp fix based on: https://github.com/PowerShell/PowerShell/issues/9746
|
# Temp fix based on: https://github.com/PowerShell/PowerShell/issues/9746
|
||||||
sudo apt remove libicu64
|
sudo apt remove libicu64
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
|
|||||||
Reference in New Issue
Block a user