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