1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-12-23 14:52:41 +00:00
setup-go/node_modules/@actions/core/lib/command.d.ts

17 lines
416 B
TypeScript
Raw Normal View History

2019-08-16 13:43:51 +00:00
interface CommandProperties {
[key: string]: any;
2019-08-16 13:43:51 +00:00
}
/**
* Commands
*
* Command Format:
* ::name key=value,key=value::message
2019-08-16 13:43:51 +00:00
*
* Examples:
* ::warning::This is the message
* ::set-env name=MY_VAR::some value
2019-08-16 13:43:51 +00:00
*/
export declare function issueCommand(command: string, properties: CommandProperties, message: any): void;
export declare function issue(name: string, message?: string): void;
2019-08-16 13:43:51 +00:00
export {};