Skip to content

Create greetings.yml #4

Create greetings.yml

Create greetings.yml #4

name: "dependent jobs"
on: ['push']
jobs:
job2:
runs-on: ubuntu-latest
needs: job1

Check failure on line 8 in .github/workflows/dependent-jobs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dependent-jobs.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
steps:
- name: "step1"
run: echo "World"
job1:
runs-on: ubuntu-latest
- name "step2"
run: echo "Hello"