Skip to main content
Module

x/actionify/mod.ts>c.setOutput

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

Sets an action's output parameter.

import { commands, e, step } from 'https://deno.land/x/actionify@0.2.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; }>