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.setNotice

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

Creates a notice message and prints the message to the log. This message will create an annotation, which can associate the message with a particular file in your repository. Optionally, your message can specify a position within the file.

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

const step = Step
  .create()
  .run(commands.setNotice(
    'This is a notice', {
      file: 'app.js',
      line: 1,
      col: 5,
      endColumn: 7,
  }));

Parameters

message: ExpressionValue
optional
options: NoticeOptions = [UNSUPPORTED]

Returns

Command<DefaultCommandTypes>