File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 88phases :
99 install :
1010 commands :
11+ - # force install java21 while we work throuh path issues
12+ - |
13+ $javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
14+ ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
15+ }
16+ $JAVA_HOME = "C:\Program Files\Amazon Corretto\$javaName"
1117 - |
1218 if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
1319 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Original file line number Diff line number Diff line change 88phases :
99 install :
1010 commands :
11+ # force install java21 while we work throuh path issues
12+ - |
13+ $javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
14+ ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
15+ }
16+ $JAVA_HOME = "C:\Program Files\Amazon Corretto\$javaName"
1117 - |
1218 if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
1319 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Original file line number Diff line number Diff line change 88phases :
99 install :
1010 commands :
11+ # force install java21 while we work throuh path issues
12+ - |
13+ $javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
14+ ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
15+ }
16+ $JAVA_HOME = "C:\Program Files\Amazon Corretto\$javaName"
1117 - |
1218 if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
1319 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
You can’t perform that action at this time.
0 commit comments