Computer scienceSystem administration and DevOpsCI/CD processesGitHub Actions

Conditional execution

Sequential

Report a typo

What are the sequential jobs in this workflow?

name: Sequential
on:
  push:
jobs:
  Job1:
    runs-on: ubuntu-latest
    steps:
      - run: echo one
  Job2:
    runs-on: ubuntu-latest
    steps:
      - run: echo two
  Job3:
    runs-on: ubuntu-latest
    needs: Job1
    steps:
      - run: echo three
  Job4:
    runs-on: ubuntu-latest
    needs: [Job2, Job3]
    steps:
      - run: echo four
  Job5:
    runs-on: ubuntu-latest
    if: ${{ always() }}
    needs: Job1
    steps:
      - run: echo five
Select one or more options from the list
___

Create a free account to access the full topic