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

x/actionify/mod.ts>Step#workingDirectory

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

Using the working-directory keyword, you can specify the working directory of where to run the command.

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

const step = Step
  .create()
  .run('rm -rf *')
  .workingDirectory('./tmp');

Parameters

optional
workingDirectory: WithContext<ExpressionValue, Base, "jobs:jobId:steps:workingDirectory">