mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
adding_kotlin in ubuntu_24 (#10474)
This commit is contained in:
committed by
GitHub
parent
5ab121d559
commit
f8049e323b
@@ -48,9 +48,7 @@ if (Test-IsUbuntu20) {
|
||||
$languageAndRuntime.AddToolVersionsListInline("GNU C++", $(Get-CPPVersions), "^\d+")
|
||||
$languageAndRuntime.AddToolVersionsListInline("GNU Fortran", $(Get-FortranVersions), "^\d+")
|
||||
$languageAndRuntime.AddToolVersion("Julia", $(Get-JuliaVersion))
|
||||
if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
|
||||
$languageAndRuntime.AddToolVersion("Kotlin", $(Get-KotlinVersion))
|
||||
}
|
||||
$languageAndRuntime.AddToolVersion("Kotlin", $(Get-KotlinVersion))
|
||||
if (-not $(Test-IsUbuntu24)) {
|
||||
$languageAndRuntime.AddToolVersion("Mono", $(Get-MonoVersion))
|
||||
$languageAndRuntime.AddToolVersion("MSBuild", $(Get-MsbuildVersion))
|
||||
|
||||
@@ -390,7 +390,7 @@ Describe "yq" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Kotlin" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
||||
Describe "Kotlin" {
|
||||
It "kapt" {
|
||||
"kapt -version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
@@ -298,6 +298,7 @@ provisioner "shell" {
|
||||
"${path.root}/../scripts/build/install-java-tools.sh",
|
||||
"${path.root}/../scripts/build/install-kubernetes-tools.sh",
|
||||
"${path.root}/../scripts/build/install-miniconda.sh",
|
||||
"${path.root}/../scripts/build/install-kotlin.sh",
|
||||
"${path.root}/../scripts/build/install-mysql.sh",
|
||||
"${path.root}/../scripts/build/install-nginx.sh",
|
||||
"${path.root}/../scripts/build/install-nodejs.sh",
|
||||
|
||||
Reference in New Issue
Block a user