Skip to content

Commit

Permalink
CI: Fixes Compile workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 6, 2024
1 parent ebd82d4 commit 584c964
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/backtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v2
with:
path: Include/EA31337-classes
ref: v3.000.1
ref: v3.000.2
repository: EA31337/EA31337-classes
- name: Enables input mode
run: echo '#define __input__' > config/define.h
Expand All @@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v2
with:
path: indicators-other/Misc/Include/EA31337-classes
ref: v3.000.1
ref: v3.000.2
repository: EA31337/EA31337-classes
- name: Compile strategy for MQL5
uses: fx31337/mql-compile-action@master
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions/checkout@v2
with:
path: Include/EA31337-classes
ref: v3.000.1
ref: v3.000.2
repository: EA31337/EA31337-classes
- name: Compile required indicator for MQL4
if: false # MQL4 version not supported.
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ on:
type: boolean

jobs:
checkout-classes:
name: Checkout Classes repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: v3.000.2
repository: EA31337/EA31337-classes
- name: Uploads source code
uses: actions/upload-artifact@v4
with:
name: src-classes
path: .

mt4:
name: Installs platform (4)
uses: EA31337/EA-Tester/.github/workflows/platform-linux.yml@dev
Expand Down Expand Up @@ -127,7 +141,7 @@ jobs:
- uses: actions/checkout@v4
with:
path: MQL${{ matrix.version}}/Include/EA31337-classes
ref: v3.000.1
ref: v3.000.2
repository: EA31337/EA31337-classes
- uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -167,4 +181,4 @@ jobs:
steps:
- uses: geekyeggo/delete-artifact@v5
with:
name: ${{ env.ARTIFACT_PREFIX }}*
name: ${{ env.ARTIFACT_PREFIX }}?

0 comments on commit 584c964

Please sign in to comment.