* fix: use @actions/core.exportVariable instead of set-env `set-env` is now deprecated. `@actions/core` exposes `exportVariable` to be used instead. https://github.com/actions/toolkit/tree/main/packages/core#exporting-variables * chore: bump @actions/core to v1.2.6
17 lines
416 B
TypeScript
17 lines
416 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;
|
|
export {};
|