mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[Ubuntu] Updating SBT version regex pattern (#11835)
This commit is contained in:
@@ -207,7 +207,7 @@ function Get-MavenVersion {
|
||||
|
||||
function Get-SbtVersion {
|
||||
$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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user