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

x/actionify/src/commands.ts>setOutput

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

Sets an action's output parameter.

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

const exampleStep = step()
  .run(commands.setOutput(
    'variableName',
    e.hashFiles('**package.json'),
  ));

Type Parameters

Output extends string

Returns

Command<{ output: Output; env: never; }>