mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
[Windows] Update WSL2 signature, Sbt version check and Regex Handling for Major Versions (#11833)
* [Windows] Fix Dotnet, sbt, wsl2 errors on windows * [Windows] rollback scripts changes
This commit is contained in:
committed by
GitHub
parent
88c7661ae2
commit
55bacf67db
@@ -166,7 +166,7 @@ function Get-GradleVersion {
|
||||
}
|
||||
|
||||
function Get-SbtVersion {
|
||||
(sbt -version) -match "sbt script" | Get-StringPart -Part 3
|
||||
(sbt -version) -match "sbt runner" | Get-StringPart -Part 3
|
||||
}
|
||||
|
||||
function Get-DotnetSdks {
|
||||
|
||||
Reference in New Issue
Block a user