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

x/actionify/src/commands.ts>addPath

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function addPath
import { addPath } from "https://deno.land/x/actionify@0.3.0/src/commands.ts";

Prepends a directory to the system PATH variable and automatically makes it available to all subsequent actions in the current job; the currently running action cannot access the updated path variable. To see the currently defined paths for your job, you can use echo "$PATH" in a step or an action.

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

const pathStep = step()
  .run(commands.addPath("$HOME/.local/bin"));