mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
22 lines
613 B
TypeScript
22 lines
613 B
TypeScript
interface CommandProperties {
|
|
[key: string]: any;
|
|
}
|
|
/**
|
|
* Commands
|
|
*
|
|
* Command Format:
|
|
* ::name key=value,key=value::message
|
|
*
|
|
* Examples:
|
|
* ::warning::This is the message
|
|
* ::set-env name=MY_VAR::some value
|
|
*/
|
|
export declare function issueCommand(command: string, properties: CommandProperties, message: any): void;
|
|
export declare function issue(name: string, message?: string): void;
|
|
/**
|
|
* Sanitizes an input into a string so it can be passed into issueCommand safely
|
|
* @param input input to sanitize into a string
|
|
*/
|
|
export declare function toCommandValue(input: any): string;
|
|
export {};
|