aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/@actions/core/lib/command.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@actions/core/lib/command.d.ts')
-rw-r--r--node_modules/@actions/core/lib/command.d.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/node_modules/@actions/core/lib/command.d.ts b/node_modules/@actions/core/lib/command.d.ts
new file mode 100644
index 0000000..89eff66
--- /dev/null
+++ b/node_modules/@actions/core/lib/command.d.ts
@@ -0,0 +1,16 @@
+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 {};