Skip to content

Commit

Permalink
ci(windows): Fix indentation error causing failure (#5422)
Browse files Browse the repository at this point in the history
  • Loading branch information
samgst-amazon authored Feb 28, 2025
1 parent 3aa9e15 commit 49f9e0d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions buildspec/windowsTestsForAmazonQ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ env:
phases:
install:
commands:
- # force install java21 while we work throuh path issues
- |
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
}
$JAVA_HOME = "C:\Program Files\Amazon Corretto\$javaName"
# force install java21 while we work through path issues
- |
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
}
$JAVA_HOME = "C:\Program Files\Amazon Corretto\$javaName"
- |
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Expand Down
2 changes: 1 addition & 1 deletion buildspec/windowsTestsForCore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
phases:
install:
commands:
# force install java21 while we work throuh path issues
# force install java21 while we work through path issues
- |
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
Expand Down
2 changes: 1 addition & 1 deletion buildspec/windowsTestsForToolkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
phases:
install:
commands:
# force install java21 while we work throuh path issues
# force install java21 while we work through path issues
- |
$javaName = "C:\Program Files\Amazon Corretto" | ForEach-Object {
ls $_ | Where-Object {$_ -Like "jdk*"} | Sort-Object -Descending -Property Name | Select-Object -first 1 -expandproperty Name
Expand Down

0 comments on commit 49f9e0d

Please sign in to comment.