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#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/src/job.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>>>>