diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3945270e2f..df50e9fbe4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -85,9 +85,9 @@ jobs: certutil -encode $home/tmp-cert.cer $home/cosmosdbcert.cer Remove-Item $home/tmp-cert.cer # Delete the cert if it already exists - ${env:JAVA_HOME}/bin/keytool.exe -cacerts -delete -alias cosmos_emulator + & ${env:JAVA_HOME}/bin/keytool.exe -cacerts -delete -alias cosmos_emulator # Import the cert - ${env:JAVA_HOME}/bin/keytool.exe -cacerts -importcert -alias cosmos_emulator -file $home/cosmosdbcert.cer + & ${env:JAVA_HOME}/bin/keytool.exe -cacerts -importcert -alias cosmos_emulator -file $home/cosmosdbcert.cer # # These retries are needed since the downloaded file may be a JSON response. # while ($true) { # curl.exe -k --retry 20 --retry-delay 5 --retry-all-errors https://localhost:8081/_explorer/emulator.pem > ~/emulatorcert.crt