mirror of
https://github.com/actions/runner-images.git
synced 2026-01-10 20:52:45 +08:00
Merge pull request #453 from miketimofeev/v-mitim/powershellcore_remove_workaround
Restore ubuntu 18 php-intl installation
This commit is contained in:
@@ -8,13 +8,14 @@
|
|||||||
source $HELPER_SCRIPTS/document.sh
|
source $HELPER_SCRIPTS/document.sh
|
||||||
|
|
||||||
LSB_RELEASE=$(lsb_release -rs)
|
LSB_RELEASE=$(lsb_release -rs)
|
||||||
|
# libicu64, which comes with php-intl module, has powershell breaking issue https://github.com/PowerShell/PowerShell/issues/9746
|
||||||
|
# Fix - install additional libicu65 where the issue is fixed
|
||||||
|
echo "install libicu65"
|
||||||
|
apt get install libicu65
|
||||||
|
|
||||||
# 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
|
|
||||||
sudo apt remove libicu64
|
|
||||||
|
|
||||||
# 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"
|
||||||
if ! command -v pwsh; then
|
if ! command -v pwsh; then
|
||||||
|
|||||||
Reference in New Issue
Block a user