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

x/actionify/src/step.ts>Step#shell

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

You can override the default shell settings in the runner's operating system using the shell keyword. You can use built-in shell keywords, or you can define a custom set of shell options. The shell command that is run internally executes a temporary file that contains the commands specified in the run keyword.

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

const step = Step
  .create()
  .run('echo $PATH')
  .shell('bash');

Parameters

shell: LiteralString | `${Shell}`