Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/actionify/mod.ts>c.setOutput

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

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; }>