We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8fa131 commit 73c9e52Copy full SHA for 73c9e52
buildspec/windowsTests.yml
@@ -8,6 +8,15 @@ env:
8
phases:
9
install:
10
commands:
11
+ # force install java21 while we work throuh path issues
12
+ - |
13
+ $url = 'https://corretto.aws/downloads/latest/amazon-corretto-17-x64-windows-jdk.msi';
14
+ Write-Host ('Downloading from {0}' -f $url);
15
+ [ Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
16
+ Invoke-WebRequest -Uri $url -OutFile 'corretto_jdk_build.msi';
17
+ Start-Process 'corretto_jdk_build.msi' -PassThru | Wait-Process;
18
+ Write-Host 'Removing ...';
19
+ Remove-Item corretto_jdk_build.msi -Force;
20
- |
21
if(-Not($Env:CODE_COV_TOKEN -eq $null)) {
22
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
0 commit comments