Skip to content

Commit 004bb48

Browse files
RaviAkshintalaRavi Akshintala
and
Ravi Akshintala
authored
[Ubuntu] Updated the Kotlin pester test and Power shell version for Ubuntu24.04. (actions#11062)
* [Ubuntu] Uodated the script to install the powershell * [Ubuntu] Fixing the powershell and kotlin --------- Co-authored-by: Ravi Akshintala <[email protected]>
1 parent 5a26302 commit 004bb48

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

images/ubuntu/scripts/build/install-powershell.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,5 @@ source $HELPER_SCRIPTS/os.sh
1111
pwsh_version=$(get_toolset_value .pwsh.version)
1212

1313
# Install Powershell
14-
if is_ubuntu24; then
15-
dependency_path=$(download_with_retry "http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu72_72.1-3ubuntu2_amd64.deb")
16-
sudo dpkg -i "$dependency_path"
17-
package_path=$(download_with_retry "https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-lts_7.4.2-1.deb_amd64.deb")
18-
sudo dpkg -i "$package_path"
19-
else
14+
2015
apt-get install powershell=$pwsh_version*
21-
fi

images/ubuntu/scripts/tests/Tools.Tests.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ Describe "Kotlin" {
407407
"kotlinc-jvm -version" | Should -ReturnZeroExitCode
408408
}
409409

410-
It "kotlin-dce-js" {
411-
"kotlin-dce-js -version" | Should -ReturnZeroExitCode
410+
It "kotlinc-js" {
411+
"kotlinc-js -version" | Should -ReturnZeroExitCode
412412
}
413413
}

0 commit comments

Comments
 (0)