[Ubuntu] Updated the Kotlin pester test and Power shell version for Ubuntu24.04. (#11062)

* [Ubuntu] Uodated the script to install the powershell

* [Ubuntu] Fixing the powershell and kotlin

---------

Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
This commit is contained in:
RaviAkshintala
2024-11-28 20:41:49 +05:30
committed by GitHub
parent 5a263020f5
commit 004bb48b9e
2 changed files with 3 additions and 9 deletions

View File

@@ -11,11 +11,5 @@ source $HELPER_SCRIPTS/os.sh
pwsh_version=$(get_toolset_value .pwsh.version)
# Install Powershell
if is_ubuntu24; then
dependency_path=$(download_with_retry "http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu72_72.1-3ubuntu2_amd64.deb")
sudo dpkg -i "$dependency_path"
package_path=$(download_with_retry "https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-lts_7.4.2-1.deb_amd64.deb")
sudo dpkg -i "$package_path"
else
apt-get install powershell=$pwsh_version*
fi