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: