setup-node/node_modules/@actions/core/lib/command.d.ts

17 lines
422 B
TypeScript
Raw Normal View History

2019-08-03 21:49:54 -04:00
interface CommandProperties {
[key: string]: string;
}
/**
* Commands
*
* Command Format:
2020-01-24 12:20:19 -05:00
* ::name key=value,key=value::message
2019-08-03 21:49:54 -04:00
*
* Examples:
2020-01-24 12:20:19 -05:00
* ::warning::This is the message
* ::set-env name=MY_VAR::some value
2019-08-03 21:49:54 -04:00
*/
export declare function issueCommand(command: string, properties: CommandProperties, message: string): void;
2020-01-24 12:20:19 -05:00
export declare function issue(name: string, message?: string): void;
2019-08-03 21:49:54 -04:00
export {};