Skip to content

Commit 49f9e0d

Browse files
ci(windows): Fix indentation error causing failure (#5422)
1 parent 3aa9e15 commit 49f9e0d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

buildspec/windowsTestsForAmazonQ.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ env:
88
phases:
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"
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"
1717
- |
1818
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
1919
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;

buildspec/windowsTestsForCore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
phases:
99
install:
1010
commands:
11-
# force install java21 while we work throuh path issues
11+
# force install java21 while we work through path issues
1212
- |
1313
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
1414
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name

buildspec/windowsTestsForToolkit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
phases:
99
install:
1010
commands:
11-
# force install java21 while we work throuh path issues
11+
# force install java21 while we work through path issues
1212
- |
1313
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
1414
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name

0 commit comments

Comments
 (0)