File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
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
+ # force install java21 while we work through 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"
17
17
- |
18
18
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
19
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
11
+ # force install java21 while we work through path issues
12
12
- |
13
13
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
14
14
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
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
11
+ # force install java21 while we work through path issues
12
12
- |
13
13
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
14
14
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
You can’t perform that action at this time.
0 commit comments