Skip to content

Commit

Permalink
Converts action to composite
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Feb 17, 2024
1 parent 4f28b25 commit 4dab28f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 62 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/docker.yml

This file was deleted.

9 changes: 0 additions & 9 deletions Dockerfile

This file was deleted.

42 changes: 7 additions & 35 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,38 +94,10 @@ name: EA Tester
# foo: # id of output
# description: 'Foo'
runs:
using: docker
image: Dockerfile
env:
BT_CURRENCY: ${{ inputs.BtCurrency }}
BT_DAYS: ${{ inputs.BtDays }}
BT_DEPOSIT: ${{ inputs.BtDeposit }}
BT_DEST: ${{ inputs.BtDest }}
BT_DIGITS: ${{ inputs.BtDigits }}
BT_MONTHS: ${{ inputs.BtMonths }}
BT_PERIOD: ${{ inputs.TestPeriod }}
BT_SPREAD: ${{ inputs.BtSpread }}
BT_SYMBOL: ${{ inputs.BtPair }}
BT_TESTMODEL: ${{ inputs.BtTestModel }}
BT_YEARS: ${{ inputs.BtYears }}
GITHUB_API_TOKEN: ${{ inputs.GitHubApiToken }}
EA_OPTS: ${{ inputs.TestLimitOpts }}
OPT_FORMAT_BRIEF: ${{ inputs.OptFormatBrief }}
OPT_FORMAT_JSON: ${{ inputs.OptFormatJson }}
OPT_OPTIMIZATION: ${{ inputs.OptOptimize }}
OPT_TRACE: ${{ inputs.OptTrace }}
OPT_VERBOSE: ${{ inputs.OptVerbose }}
RUN_ON_ERROR: ${{ inputs.RunOnError }}
RUN_ON_EXIT: ${{ inputs.RunOnExit }}
RUN_ON_FAIL: ${{ inputs.RunOnFail }}
RUN_ON_SET: ${{ inputs.RunOnSet }}
RUN_ON_START: ${{ inputs.RunOnStart }}
RUN_ON_SUCCESS: ${{ inputs.RunOnSuccess }}
RUN_ON_WARN: ${{ inputs.RunOnWarning }}
SCRIPT: ${{ inputs.Script }}
SETFILE: ${{ inputs.SetFile }}
SET_OPTS: ${{ inputs.SetOpts }}
SET_PARAMS: ${{ inputs.SetParams }}
TEST_EXPERT: ${{ inputs.TestExpert }}
TEST_REPORT_NAME: ${{ inputs.TestReportName }}
WORKDIR: /github/workspace
steps:
- name: Installs platform
uses: EA31337/EA-Tester/.github/workflows/platform-linux.yml@dev
with:
artifact_name: mt4
version: 5
using: composite

0 comments on commit 4dab28f

Please sign in to comment.