From 761b3d7f8396f6846237347da565b6104065e02b Mon Sep 17 00:00:00 2001 From: kenorb Date: Wed, 24 Apr 2024 01:52:25 +0100 Subject: [PATCH] GHA: Fixes compilation for indicator test workflow --- .github/workflows/test-indicator.yml | 32 +++++++--------------------- 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/.github/workflows/test-indicator.yml b/.github/workflows/test-indicator.yml index 87b68aa41..af8e3eb45 100644 --- a/.github/workflows/test-indicator.yml +++ b/.github/workflows/test-indicator.yml @@ -16,36 +16,20 @@ on: jobs: - Compile: - runs-on: windows-latest - steps: - - uses: actions/checkout@v2 - - name: Compile - uses: fx31337/mql-compile-action@master - with: - init-platform: true - path: 'Indicator/tests' - verbose: true - - name: Print compiled files - run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname' - shell: powershell - - name: Upload artifacts (MQL4) - uses: actions/upload-artifact@v2 - with: - name: files-ex4 - path: '**/*.ex4' - - name: Upload artifacts (MQL5) - uses: actions/upload-artifact@v2 - with: - name: files-ex5 - path: '**/*.ex5' + compile: + name: Compile + uses: ./.github/workflows/compile.yml + with: + artifact_prefix: mt + skip_cleanup: true Indicator-Tests-MQL4: defaults: run: shell: bash working-directory: Indicator/tests - needs: Compile + if: false + needs: compile runs-on: ubuntu-latest strategy: matrix: