mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[macOS] Fix default java postfix in the software readme (#3518)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function Get-JavaVersions {
|
||||
$defaultJavaPath = Get-Item env:JAVA_HOME
|
||||
$defaultJavaPath = (Get-Item env:JAVA_HOME).value
|
||||
$javaVersions = Get-Item env:JAVA_HOME_*_X64
|
||||
$sortRules = @{
|
||||
Expression = { [Int32]$_.Name.Split("_")[2] }
|
||||
|
||||
Reference in New Issue
Block a user