mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[MacOS] Add SBT (#4101)
This commit is contained in:
@@ -512,6 +512,11 @@ function Get-KotlinVersion {
|
|||||||
return "Kotlin $kotlinVersion"
|
return "Kotlin $kotlinVersion"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Get-SbtVersion {
|
||||||
|
$sbtVersion = Run-Command "sbt -version" | Take-Part -Part 3
|
||||||
|
return "Sbt $sbtVersion"
|
||||||
|
}
|
||||||
|
|
||||||
function Build-PackageManagementEnvironmentTable {
|
function Build-PackageManagementEnvironmentTable {
|
||||||
return @(
|
return @(
|
||||||
@{
|
@{
|
||||||
|
|||||||
@@ -99,7 +99,8 @@ $markdown += New-MDHeader "Project Management" -Level 3
|
|||||||
$markdown += New-MDList -Style Unordered -Lines (@(
|
$markdown += New-MDList -Style Unordered -Lines (@(
|
||||||
(Get-MavenVersion),
|
(Get-MavenVersion),
|
||||||
(Get-GradleVersion),
|
(Get-GradleVersion),
|
||||||
(Get-ApacheAntVersion)
|
(Get-ApacheAntVersion),
|
||||||
|
(Get-SbtVersion)
|
||||||
) | Sort-Object
|
) | Sort-Object
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -176,3 +176,9 @@ Describe "Kotlin" {
|
|||||||
"$toolName -version" | Should -ReturnZeroExitCode
|
"$toolName -version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Describe "sbt" {
|
||||||
|
It "sbt" {
|
||||||
|
"sbt -version" | Should -ReturnZeroExitCode
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -261,6 +261,7 @@
|
|||||||
"packer",
|
"packer",
|
||||||
"parallel",
|
"parallel",
|
||||||
"perl",
|
"perl",
|
||||||
|
"sbt",
|
||||||
"subversion",
|
"subversion",
|
||||||
"swiftformat",
|
"swiftformat",
|
||||||
"swig",
|
"swig",
|
||||||
|
|||||||
@@ -212,6 +212,7 @@
|
|||||||
"packer",
|
"packer",
|
||||||
"parallel",
|
"parallel",
|
||||||
"perl",
|
"perl",
|
||||||
|
"sbt",
|
||||||
"subversion",
|
"subversion",
|
||||||
"swiftformat",
|
"swiftformat",
|
||||||
"swig",
|
"swig",
|
||||||
|
|||||||
@@ -158,6 +158,7 @@
|
|||||||
"p7zip",
|
"p7zip",
|
||||||
"packer",
|
"packer",
|
||||||
"perl",
|
"perl",
|
||||||
|
"sbt",
|
||||||
"subversion",
|
"subversion",
|
||||||
"swiftformat",
|
"swiftformat",
|
||||||
"swig",
|
"swig",
|
||||||
|
|||||||
Reference in New Issue
Block a user