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

x/actionify/versions/0.ts>commands.setOutput

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

Sets an action's output parameter.

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

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

Type Parameters

Output extends string

Parameters

name: Output
value: ExpressionValue

Returns

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