Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/job.ts>Job#maxParallel

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
method Job.prototype.maxParallel
import { Job } from "https://deno.land/x/actionify@0.3.0/src/job.ts";

By default, GitHub will maximize the number of jobs run in parallel depending on runner availability. To set the maximum number of jobs that can run simultaneously when using a matrix job strategy, use jobs.<job_id>.strategy.max-parallel.

For example, the following workflow will run a maximum of two jobs at a time, even if there are runners available to run all six jobs at once.

Parameters

maxParallel: number