Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/actionify/mod.ts>Job#step

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
method Job.prototype.step
Deprecated
Deprecated

use steps() instead. A job contains a sequence of tasks called steps. Steps can run commands, run setup tasks, or run an action in your repository, a public repository, or an action published in a Docker registry. Not all steps run actions, but all actions run as a step. Each step runs in its own process in the runner environment and has access to the workspace and filesystem. Because steps run in their own process, changes to environment variables are not preserved between steps. GitHub provides built-in steps to set up and complete a job.

import { Job } from "https://deno.land/x/actionify@0.3.0/mod.ts";

Type Parameters

OutputStep extends AnyStep
optional
Id extends GetStepId<OutputStep> = GetStepId<OutputStep>

Parameters

step: StepCreator<Base, OutputStep>

Returns

Job<CombineAsUnion<Base | GetStepEnv<OutputStep> | StepOutput<Id, GetStepOutputs<OutputStep>>>>