mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-17 07:16:46 +00:00
[Ubuntu] Updating SBT version regex pattern (#11835)
This commit is contained in:
@@ -207,7 +207,7 @@ function Get-MavenVersion {
|
|||||||
|
|
||||||
function Get-SbtVersion {
|
function Get-SbtVersion {
|
||||||
$result = Get-CommandResult "sbt -version"
|
$result = Get-CommandResult "sbt -version"
|
||||||
$result.Output -match "sbt script version: (?<version>\d+\.\d+\.\d+)" | Out-Null
|
$result.Output -match "sbt runner version: (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||||
return $Matches.version
|
return $Matches.version
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user