From 01b7a3364382c931a6ea8a7070a365ebd8362339 Mon Sep 17 00:00:00 2001 From: Zartash Aslam Date: Thu, 17 Aug 2023 22:18:25 +0500 Subject: [PATCH] test --- .github/workflows/test.yml | 49 +++++++++++--------------------------- 1 file changed, 14 insertions(+), 35 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aae7cb6..8b6127d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,39 +9,18 @@ on: type: boolean default: false description: Use Repo 2? - + jobs: - common-steps: - name: Common Steps - runs-on: ubuntu-latest - steps: - - name: common workflow test - run: | - echo This is my test common workflow - - es-job: - name: Repo 1 Job - runs-on: ubuntu-latest - if: ${{ github.event.inputs.es == 'true' }} - steps: - - name: Common Steps - id: common - uses: ./.github/actions/common-steps - - name: Elasticsearch job - id: build-image-elasticsearch - run: | - echo This is Repo 1 Job - - dr-job: - name: Repo 2 Job - runs-on: ubuntu-latest - if: ${{ github.event.inputs.dr == 'true' }} - steps: - - name: Common Steps - id: common - uses: ./.github/actions/common-steps - - name: Data science job - id: build-ds-data - run: | - echo This is Repo 2 Job - \ No newline at end of file + es-job: + name: Repo 1 Job + runs-on: ubuntu-latest + if: github.event.inputs.es == 'true' + steps: + - run: echo "some repo 1 job" + + dr-job: + name: Repo 2 Job + runs-on: ubuntu-latest + if: github.event.inputs.dr == 'true' + steps: + - run: echo "some repo 2 job" \ No newline at end of file