Skip to main content
Module

x/actionify/mod.ts>Step#shell

Create and manage your GitHub workflows with TypeScript and Deno.
Go to Latest
method Step.prototype.shell
import { Step } from "https://deno.land/x/actionify@0.2.0/mod.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.2.0/mod.ts';

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

Parameters

shell: LiteralString | `${Shell}`