mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[Ubuntu] Add kotlin (#3755)
This commit is contained in:
@@ -124,6 +124,11 @@ function Get-SwiftVersion {
|
||||
return "Swift $swiftVersion"
|
||||
}
|
||||
|
||||
function Get-KotlinVersion {
|
||||
$kotlinVersion = kotlin -version | Out-String | Take-OutputPart -Part 2
|
||||
return "Kotlin $kotlinVersion"
|
||||
}
|
||||
|
||||
function Get-JuliaVersion {
|
||||
$juliaVersion = julia --version | Take-OutputPart -Part 2
|
||||
return "Julia $juliaVersion"
|
||||
|
||||
@@ -49,7 +49,8 @@ $runtimesList = @(
|
||||
(Get-Python3Version),
|
||||
(Get-RubyVersion),
|
||||
(Get-SwiftVersion),
|
||||
(Get-JuliaVersion)
|
||||
(Get-JuliaVersion),
|
||||
(Get-KotlinVersion)
|
||||
)
|
||||
|
||||
if (Test-IsUbuntu20) {
|
||||
|
||||
Reference in New Issue
Block a user