From 68abefcaad0bde315cb4442a6f913fc9142cb7c5 Mon Sep 17 00:00:00 2001 From: kenorb Date: Sun, 18 Feb 2024 13:36:49 +0000 Subject: [PATCH] Runs EA from the URL --- .github/workflows/action.yml | 30 ++++++++++++------------------ action.yml | 6 ++++++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 2bd7d83..29b3163 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -10,31 +10,25 @@ on: - '*.md' jobs: - Scripts: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Run PrintPaths - uses: ./ - with: - Script: PrintPaths - Experts: + ea: + name: Run EA runs-on: ubuntu-latest strategy: fail-fast: false max-parallel: 2 steps: - uses: actions/checkout@v4 - - name: Run TestBands - uses: ./ - with: - TestExpert: TestBands.mq4 - - name: Run TestEnvelopes + - name: Run Libre (4) uses: ./ with: - TestExpert: TestEnvelopes.mq4 - TestPeriod: M1 - - name: Run TestTimeframes + TestExpert: EA31337-Libre-v1.013.ex4 + UrlExpert: >- + https://github.com/EA31337/EA31337-Libre/releases/download/v1.013/EA31337-Libre-v1.013.ex4 + Version: 4 + - name: Run Libre (5) uses: ./ with: - TestExpert: TestTimeframes.mq4 + TestExpert: EA31337-Libre-v1.013.ex5 + UrlExpert: >- + https://github.com/EA31337/EA31337-Libre/releases/download/v1.013/EA31337-Libre-v1.013.ex5 + Version: 5 diff --git a/action.yml b/action.yml index a2c6997..ea80c45 100644 --- a/action.yml +++ b/action.yml @@ -73,6 +73,9 @@ inputs: TestToDate: default: description: The date to finish testing (yyyy.mm.dd). + UrlExpert: + default: https://github.com/EA31337/EA31337-Libre/releases/download/v1.013/EA31337-Libre-v1.013.ex5 + description: URL of Expert Advisor to download. Version: default: 5 description: Version of platform to use. @@ -180,6 +183,9 @@ runs: Symbol: ${{ inputs.TestSymbol }} ToDate: ${{ inputs.TestToDate }} Visual: 0 + mt_runner_get_url_list: + - dest: "{{ mt_runner_mt_path }}/MQL${{ inputs.Version }}/Experts" + url: "${{ inputs.UrlExpert }}" - name: Runs playbook uses: dawidd6/action-ansible-playbook@v2 with: