Skip to main content
Module

x/actionify/mod.ts>commands.setOutput

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

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

Parameters

name: Output
value: ExpressionValue

Returns

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