From cc06f0064a1c96cd7ca976a0b32e9a63f95ec817 Mon Sep 17 00:00:00 2001 From: kenorb Date: Mon, 2 Sep 2024 21:54:38 +0100 Subject: [PATCH] Adds RunnerTimeout param to set the timeout --- README.md | 6 ++++++ action.yml | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14470b4..0ef39f3 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,12 @@ Password to the account. Trade server. +### Runner + +#### `RunnerTimeout` + +Time to wait for platform to finish the test (in seconds). Default: *600*. + ### Start Up #### `Expert` diff --git a/action.yml b/action.yml index 4897029..bdb1a7c 100644 --- a/action.yml +++ b/action.yml @@ -21,6 +21,9 @@ inputs: Period: default: description: The default timeframe of the chart. + RunnerTimeout: + default: 600 + description: Time to wait for platform to finish the test. Server: default: description: Trade server. @@ -192,7 +195,7 @@ runs: mt_runner_get_url_list: - dest: "{{ mt_runner_mt_path }}/MQL${{ inputs.Version }}/Experts" url: "${{ inputs.UrlExpert }}" - mt_runner_timeout: 240 + mt_runner_timeout: ${{ inputs.RunnerTimeout }} - name: Creates requirements uses: DamianReeves/write-file-action@v1.3 with: