new changes 2 #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | ||
workflow_dispatch: | ||
inputs: | ||
es: | ||
type: boolean | ||
default: false | ||
description: Use Repo 1? | ||
dr: | ||
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 | ||