jobs

1 minute read

A workflow is made up of one or more jobs, using the jobs keyword. Jobs run in parallel by default. To run jobs sequentially, define dependencies on other jobs using the jobs.<job_id>.needs keyword.

You can run an unlimited number of jobs as long as you are within the workflow usage limits.

jobs: my-job: steps: - name: My step env: SERVER: development uses: docker://alpine:3.18 run: echo "Hello $SERVER" #prints "Hello development"