Skip to content

new changes 2

new changes 2 #8

Workflow file for this run

on:
workflow_dispatch:
inputs:
es:
type: boolean
default: false
description: Use Repo 1?
dr:
type: boolean
default: false
description: Use Repo 2?

Check failure on line 12 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
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