Skip to content

Commit 99335a8

Browse files
committed
inline
1 parent b113ae5 commit 99335a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-metatrader5-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616

1717
- name: Download MetaTrader5 Installer
1818
run: |
19-
Invoke-WebRequest `
20-
-Uri "https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe" `
19+
Invoke-WebRequest
20+
-Uri "https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe"
2121
-OutFile "mt5setup.exe"
2222
shell: pwsh
2323

2424
- name: Install MetaTrader5
2525
run: |
2626
# Start installer with /auto and /portable, with timeout protection
2727
$process = Start-Process -FilePath ".\mt5setup.exe" -ArgumentList "/auto", "/portable" -PassThru
28-
$process.WaitForExit(30000) # 300 seconds = 5 minutes
28+
$process.WaitForExit(300) # 300 seconds = 5 minutes
2929
if (-not $process.HasExited) {
3030
Write-Host "MT5 installer stuck, killing..."
3131
Stop-Process -Id $process.Id -Force

0 commit comments

Comments
 (0)