ghaction-github-pages/node_modules/@actions/core/lib/command.d.ts

17 lines
422 B
TypeScript
Raw Normal View History

2019-10-11 07:44:23 +08:00
interface CommandProperties {
[key: string]: string;
}
/**
* Commands
*
* Command Format:
2020-01-24 16:57:01 +08:00
* ::name key=value,key=value::message
2019-10-11 07:44:23 +08:00
*
* Examples:
2020-01-24 16:57:01 +08:00
* ::warning::This is the message
* ::set-env name=MY_VAR::some value
2019-10-11 07:44:23 +08:00
*/
export declare function issueCommand(command: string, properties: CommandProperties, message: string): void;
export declare function issue(name: string, message?: string): void;
export {};