aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node_modules/@actions/core/lib/command.d.ts
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-14 03:45:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-14 03:45:15 +0300
commita7a0ed975046cd2581ddb8825af5e3f849efe4ab (patch)
tree7c41b2bab5d3f5c0de1e3fa364f831850806f70a /node_modules/@actions/core/lib/command.d.ts
parentmake it into a JavaScript action (diff)
downloadcleanup-path-a7a0ed975046cd2581ddb8825af5e3f849efe4ab.tar.gz
cleanup-path-a7a0ed975046cd2581ddb8825af5e3f849efe4ab.zip
add node_modules/
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 {};