From a152974c0c4eb175362796ec007aadf4850e0779 Mon Sep 17 00:00:00 2001 From: kenorb Date: Sat, 17 Feb 2024 22:25:30 +0000 Subject: [PATCH] Converts action to composite --- .github/workflows/docker.yml | 18 ------------------ Dockerfile | 9 --------- action.yml | 10 ++++++++-- 3 files changed, 8 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/docker.yml delete mode 100644 Dockerfile diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 41e23d9..0000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Docker - -on: - pull_request: - paths-ignore: - - '**/*.md' - push: - paths-ignore: - - '**/*.md' - -jobs: - Build-Dockerfile: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build Dockerfile - run: docker build . diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 5513577..0000000 --- a/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM ea31337/ea-tester:dev - -RUN set - -# Copies your code file from your action repository to the filesystem of the container. -COPY entrypoint.sh /entrypoint.sh - -# Executes `entrypoint.sh` when the Docker container starts up. -ENTRYPOINT ["/entrypoint.sh"] diff --git a/action.yml b/action.yml index dbe9c99..489464d 100644 --- a/action.yml +++ b/action.yml @@ -94,8 +94,6 @@ name: EA Tester # foo: # id of output # description: 'Foo' runs: - using: docker - image: Dockerfile env: BT_CURRENCY: ${{ inputs.BtCurrency }} BT_DAYS: ${{ inputs.BtDays }} @@ -129,3 +127,11 @@ runs: TEST_EXPERT: ${{ inputs.TestExpert }} TEST_REPORT_NAME: ${{ inputs.TestReportName }} WORKDIR: /github/workspace + steps: + mt4: + name: Installs platform + uses: EA31337/EA-Tester/.github/workflows/platform-linux.yml@dev + with: + artifact_name: mt4 + version: 5 + using: composite