Skip to content

Commit

Permalink
Merge pull request #9 from zartashaslam/dec
Browse files Browse the repository at this point in the history
test
  • Loading branch information
zartashaslam authored Aug 17, 2023
2 parents a704e01 + 01b7a33 commit 05341cf
Showing 1 changed file with 14 additions and 35 deletions.
49 changes: 14 additions & 35 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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"

0 comments on commit 05341cf

Please sign in to comment.