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 983f4c8 commit 7327c10Copy full SHA for 7327c10
.github/workflows/test-metatrader5-integration.yml
@@ -20,10 +20,17 @@ jobs:
20
- name: Download MetaTrader 5
21
run: |
22
Invoke-WebRequest -Uri "https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe" -OutFile mt5setup.exe
23
+ # Verify download was successful
24
+ if (!(Test-Path "mt5setup.exe")) {
25
+ Write-Error "MetaTrader 5 download failed."
26
+ exit 1
27
+ }
28
29
- name: Install MetaTrader 5 silently
30
31
Start-Process -FilePath .\mt5setup.exe -ArgumentList "/auto" -Wait
32
+ # Give installation some time to complete
33
+ Start-Sleep -Seconds 30
34
35
- name: Verify MetaTrader 5 Installation
36
0 commit comments