Skip to content

Create greetings.yml #5

Create greetings.yml

Create greetings.yml #5

name: "dependent jobs"
on: ['push']
jobs:
job2:
runs-on: ubuntu-latest
needs: job1
steps:
- name: "step1"
run: echo "World"
job1:
runs-on: ubuntu-latest
- name "step2"
run: echo "Hello"

Check failure on line 15 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 15