File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 8
8
phases :
9
9
install :
10
10
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"
11
17
- |
12
18
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
13
19
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Original file line number Diff line number Diff line change 8
8
phases :
9
9
install :
10
10
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"
11
17
- |
12
18
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
13
19
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Original file line number Diff line number Diff line change 8
8
phases :
9
9
install :
10
10
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"
11
17
- |
12
18
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
13
19
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
You can’t perform that action at this time.
0 commit comments