mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-29 04:47:38 +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
|
||||
|
||||
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
|
||||
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
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
if ! command -v pwsh; then
|
||||
|
||||
Reference in New Issue
Block a user